From 0e93009e4bd3e553ed8a6005067f2f1bf9723c2f Mon Sep 17 00:00:00 2001 From: Riyyi Date: Mon, 25 Jul 2022 17:19:56 +0200 Subject: [PATCH] Util: Update JSON user-defined literal type name --- src/util/json/value.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util/json/value.h b/src/util/json/value.h index 9938d95..9963d13 100644 --- a/src/util/json/value.h +++ b/src/util/json/value.h @@ -143,7 +143,7 @@ void format(FormatBuilder& builder, const Value& value); * * Example usage: auto json = "[ 3.14, true, null ]"_json; */ -inline Json::Value operator"" _json(const char* input, size_t length) +inline Util::JSON::Value operator"" _json(const char* input, size_t length) { - return Json::Value::parse(std::string(input, length)); + return Util::JSON::Value::parse(std::string(input, length)); }