- try to fix auto_ptr proxy for msvc
This commit is contained in:
parent
9cd3d6ed3b
commit
472e8bbaf0
|
@ -21,8 +21,12 @@
|
|||
|
||||
// C++11
|
||||
#if defined(HAVE_CXX11) || (__cplusplus >= 201103L) || (_MSC_VER >= 1900)
|
||||
|
||||
#define auto_ptr std::unique_ptr
|
||||
|
||||
#if defined(WIN32)
|
||||
#define auto_ptr unique_ptr
|
||||
#else
|
||||
#define auto_ptr std::unique_ptr
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue