- try to fix auto_ptr proxy for msvc

This commit is contained in:
SoftCoder 2016-01-18 16:28:05 -08:00
parent 9cd3d6ed3b
commit 472e8bbaf0
1 changed files with 6 additions and 2 deletions

View File

@ -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