jsoncpp.cpp: re-apply gcc version compil fix

Origin commit data
------------------
Branch: ni/coolstream
Commit: 4a72274efb
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-01-26 (Tue, 26 Jan 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2016-01-26 14:11:33 +01:00
parent a8244f8aa3
commit 94712b9e14

View File

@@ -219,7 +219,11 @@ static int stackDepth_g = 0; // see readValue()
namespace Json {
#if __cplusplus >= 201103L
typedef std::unique_ptr<CharReader> CharReaderPtr;
#else
typedef std::auto_ptr<CharReader> CharReaderPtr;
#endif
// Implementation of class Features
// ////////////////////////////////
@@ -3761,7 +3765,11 @@ Value& Path::make(Value& root) const {
namespace Json {
#if __cplusplus >= 201103L
typedef std::unique_ptr<StreamWriter> StreamWriterPtr;
#else
typedef std::auto_ptr<StreamWriter> StreamWriterPtr;
#endif
static bool containsControlCharacter(const char* str) {
while (*str) {