Skip to content

Commit ce8fe1b

Browse files
authored
This isolates a fix found in the large PR simdjson#445 (simdjson#457)
1 parent fa04595 commit ce8fe1b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎include/simdjson/parsedjson.h‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ class ParsedJson {
103103
tape[saved_loc] |= val;
104104
}
105105

106-
class InvalidJSON : public std::exception {
107-
const char *what() const throw() { return "JSON document is invalid"; }
106+
struct InvalidJSON : public std::exception {
107+
const char *what() const noexcept { return "JSON document is invalid"; }
108108
};
109109

110110
template <size_t max_depth> class BasicIterator;

0 commit comments

Comments
 (0)