We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 979cbec commit 7e4875aCopy full SHA for 7e4875a
src/lib_json/json_reader.cpp
@@ -43,7 +43,7 @@ static int stackDepth_g = 0; // see readValue()
43
44
namespace Json {
45
46
-#if __cplusplus >= 201103L
+#if __cplusplus >= 201103L || (defined(_CPPLIB_VER) && _CPPLIB_VER >= 520)
47
typedef std::unique_ptr<CharReader> CharReaderPtr;
48
#else
49
typedef std::auto_ptr<CharReader> CharReaderPtr;
src/lib_json/json_writer.cpp
@@ -54,7 +54,7 @@
54
55
56
57
58
typedef std::unique_ptr<StreamWriter> StreamWriterPtr;
59
60
typedef std::auto_ptr<StreamWriter> StreamWriterPtr;
0 commit comments