Skip to content

Commit

Permalink
fix: Do not hard code json lib namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
GoetzGoerisch committed Dec 5, 2023
1 parent bf5f571 commit aac5734
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Util/ConfigurationJsonFile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ ConfigurationJsonFile::ConfigurationJsonFile(const std::string &filename) {
i >> j;
from_json(j, *this);
Verify();
} catch (nlohmann::json_abi_v3_11_2::detail::parse_error &ex) {
} catch (NLOHMANN_JSON_NAMESPACE::detail::parse_error &ex) {
std::stringstream ss;
ss << "Json is not valid: '" << ex.what();
throw Exception::ConfigurationException(ss.str().c_str());
Expand Down

0 comments on commit aac5734

Please sign in to comment.