Skip to content

Commit 7e921b0

Browse files
committed
assume C++11 in json_reader.cpp as well
1 parent 5abc090 commit 7e921b0

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/lib_json/json_reader.cpp

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,6 @@
2323
#include <utility>
2424

2525
#include <cstdio>
26-
#if __cplusplus >= 201103L
27-
28-
#if !defined(sscanf)
29-
#define sscanf std::sscanf
30-
#endif
31-
32-
#endif //__cplusplus
3326

3427
#if defined(_MSC_VER)
3528
#if !defined(_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES)
@@ -53,11 +46,7 @@ static size_t const stackLimit_g =
5346

5447
namespace Json {
5548

56-
#if __cplusplus >= 201103L || (defined(_CPPLIB_VER) && _CPPLIB_VER >= 520)
5749
using CharReaderPtr = std::unique_ptr<CharReader>;
58-
#else
59-
using CharReaderPtr = std::auto_ptr<CharReader>;
60-
#endif
6150

6251
// Implementation of class Features
6352
// ////////////////////////////////

0 commit comments

Comments
 (0)