add regression test #2824

pull/2898/head
Niels Lohmann 2021-07-30 15:00:54 +02:00
parent 2c030bac2c
commit c7822840eb
No known key found for this signature in database
GPG Key ID: 7F3CEA63AE251B69
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ class sax_no_exception : public nlohmann::detail::json_sax_dom_parser<json>
static bool parse_error(std::size_t /*position*/, const std::string& /*last_token*/, const json::exception& ex)
{
error_string = new std::string(ex.what());
error_string = new std::string(ex.what()); // NOLINT(cppcoreguidelines-owning-memory)
return false;
}