This isolates a fix found in the large PR https://github.com/lemire/simdjson/pull/445 (#457)
This commit is contained in:
parent
fa04595d90
commit
ce8fe1bdf6
|
@ -103,8 +103,8 @@ public:
|
|||
tape[saved_loc] |= val;
|
||||
}
|
||||
|
||||
class InvalidJSON : public std::exception {
|
||||
const char *what() const throw() { return "JSON document is invalid"; }
|
||||
struct InvalidJSON : public std::exception {
|
||||
const char *what() const noexcept { return "JSON document is invalid"; }
|
||||
};
|
||||
|
||||
template <size_t max_depth> class BasicIterator;
|
||||
|
|
Loading…
Reference in New Issue