This isolates a fix found in the large PR https://github.com/lemire/simdjson/pull/445 (#457)

This commit is contained in:
Daniel Lemire 2020-01-22 12:58:59 -05:00 committed by GitHub
parent fa04595d90
commit ce8fe1bdf6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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;