Browse Source

jsoncpp: fix missing template deletion support on LCC < 1.23

makise-homura 1 year ago
parent
commit
77e046b47c
1 changed files with 4 additions and 0 deletions
  1. 4 0
      Utilities/cmjsoncpp/include/json/value.h

+ 4 - 0
Utilities/cmjsoncpp/include/json/value.h

@@ -33,6 +33,10 @@
 #if __clang_major__ == 3 && __clang_minor__ <= 8
 #define JSONCPP_TEMPLATE_DELETE
 #endif
+#elif defined(__EDG__) && defined(__LCC__)
+#if __LCC__ < 123
+#define JSONCPP_TEMPLATE_DELETE
+#endif
 #endif
 #if !defined(JSONCPP_TEMPLATE_DELETE)
 #define JSONCPP_TEMPLATE_DELETE = delete