From 9bba212794d41ba799cb8826d2a4158c8ba4659f Mon Sep 17 00:00:00 2001 From: MistEO Date: Sat, 21 Oct 2023 20:43:57 +0800 Subject: [PATCH] fix: build error --- include/json.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/json.hpp b/include/json.hpp index 8f55ae2..e3cbc8e 100644 --- a/include/json.hpp +++ b/include/json.hpp @@ -2607,9 +2607,9 @@ namespace _serialization_helper static_assert(!sizeof(T), "Unable to serialize T. " "You can define the conversion of T to json, or overload operator<< for it."); #ifdef _MSC_VER - static_assert(!sizeof(T), "See T below: "__FUNCSIG__); + static_assert(!sizeof(T), "See T below: " __FUNCSIG__); #else - // static_assert(!sizeof(T), "See T below: "__PRETTY_FUNCTION__); + // static_assert(!sizeof(T), "See T below: " __PRETTY_FUNCTION__); #endif } } // namespace _serialization_helper