diff options
author | madmaxoft <github@xoft.cz> | 2014-04-25 16:05:24 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-04-25 16:05:24 +0200 |
commit | 6d167b370e409d77eb2b9e02bc95b80463670823 (patch) | |
tree | 25621dba3e5eb1c4c44718eac07d34ee85b606fc /src/Globals.h | |
parent | Added shared_ptr handling for C++03 mode. (diff) | |
download | cuberite-6d167b370e409d77eb2b9e02bc95b80463670823.tar cuberite-6d167b370e409d77eb2b9e02bc95b80463670823.tar.gz cuberite-6d167b370e409d77eb2b9e02bc95b80463670823.tar.bz2 cuberite-6d167b370e409d77eb2b9e02bc95b80463670823.tar.lz cuberite-6d167b370e409d77eb2b9e02bc95b80463670823.tar.xz cuberite-6d167b370e409d77eb2b9e02bc95b80463670823.tar.zst cuberite-6d167b370e409d77eb2b9e02bc95b80463670823.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Globals.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Globals.h b/src/Globals.h index 93baf69ea..a09819ce9 100644 --- a/src/Globals.h +++ b/src/Globals.h @@ -272,7 +272,7 @@ template class SizeChecker<UInt16, 2>; #if (defined(_MSC_VER) && (_MSC_VER < 1600)) // MSVC before 2010 doesn't have std::shared_ptr, but has std::tr1::shared_ptr, defined in <memory> included earlier #define SharedPtr std::tr1::shared_ptr -#elif (__cplusplus > 201103L) +#elif (__cplusplus >= 201103L) // C++11 has std::shared_ptr in <memory>, included earlier #define SharedPtr std::shared_ptr #else |