Fixed C++11 check for SharedPtr.
This commit is contained in:
parent
f3dfc0349d
commit
6d167b370e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user