Skip to content

Commit

Permalink
assume C++11 in json_reader.cpp as well
Browse files Browse the repository at this point in the history
  • Loading branch information
BillyDonahue committed Jan 9, 2025
1 parent 5abc090 commit 7e921b0
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/lib_json/json_reader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,6 @@
#include <utility>

#include <cstdio>
#if __cplusplus >= 201103L

#if !defined(sscanf)
#define sscanf std::sscanf
#endif

#endif //__cplusplus

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

namespace Json {

#if __cplusplus >= 201103L || (defined(_CPPLIB_VER) && _CPPLIB_VER >= 520)
using CharReaderPtr = std::unique_ptr<CharReader>;
#else
using CharReaderPtr = std::auto_ptr<CharReader>;
#endif

// Implementation of class Features
// ////////////////////////////////
Expand Down

0 comments on commit 7e921b0

Please sign in to comment.