Explorar o código

V1.1.4
1、修复了nJson的catch的bug

Apple hai 6 días
pai
achega
03328e357c
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      common/commonDefine.h

+ 2 - 2
common/commonDefine.h

@@ -18,11 +18,11 @@
     }\
     catch(const nJson::type_error& e)                       \
     {\
-        SPDLOG_WARN("nJson type failed: " << e.what());\
+        SPDLOG_WARN("nJson type failed: {}", e.what());\
         return false;\
     }catch (const std::exception& e)\
     {\
-        SPDLOG_WARN("nJson std failed: " << e.what());\
+        SPDLOG_WARN("nJson std failed: {}", e.what());\
         return false;\
     }catch(...)\
     {\