Bladeren bron

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

Apple 4 dagen geleden
bovenliggende
commit
03328e357c
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  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(...)\
     {\