From aac5734711914ae1253e16ad7758a8a69520e6ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=B6tz=20G=C3=B6risch?= Date: Tue, 5 Dec 2023 15:49:29 +0000 Subject: [PATCH] fix: Do not hard code json lib namespace --- Util/ConfigurationJsonFile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Util/ConfigurationJsonFile.cpp b/Util/ConfigurationJsonFile.cpp index 2209ecff..2e677591 100644 --- a/Util/ConfigurationJsonFile.cpp +++ b/Util/ConfigurationJsonFile.cpp @@ -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());