Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 584824 | Differences between
and this patch

Collapse All | Expand All

(-)src/lib_json/json_reader.cpp.ORIG (-1 / +2 lines)
Lines 18-23 Link Here
18
#include <memory>
18
#include <memory>
19
#include <set>
19
#include <set>
20
#include <limits>
20
#include <limits>
21
#include <boost/scoped_ptr.hpp>
21
22
22
#if defined(_MSC_VER)
23
#if defined(_MSC_VER)
23
#if !defined(WINCE) && defined(__STDC_SECURE_LIB__) && _MSC_VER >= 1500 // VC++ 9.0 and above 
24
#if !defined(WINCE) && defined(__STDC_SECURE_LIB__) && _MSC_VER >= 1500 // VC++ 9.0 and above 
Lines 44-50 Link Here
44
namespace Json {
45
namespace Json {
45
46
46
#if __GNUC__ >= 6
47
#if __GNUC__ >= 6
47
typedef std::scoped_ptr<CharReader> const  CharReaderPtr;
48
typedef boost::scoped_ptr<CharReader> const  CharReaderPtr;
48
#else
49
#else
49
typedef std::auto_ptr<CharReader>          CharReaderPtr;
50
typedef std::auto_ptr<CharReader>          CharReaderPtr;
50
#endif
51
#endif

Return to bug 584824