fix bug that C++14 detection uses a wrong number

This commit is contained in:
Jinhao 2017-07-07 22:50:41 +08:00
parent bd5e9fdc4a
commit 50db6f81f0

View File

@ -186,7 +186,7 @@
#include <iosfwd> #include <iosfwd>
//Detects std::make_unique //Detects std::make_unique
#if (!defined(_MSC_VER)) && (__cplusplus < 201402L) #if (!defined(_MSC_VER)) && (__cplusplus >= 201300)
# if !defined(__cpp_lib_make_unique) || (__cpp_lib_make_unique != 201304) # if !defined(__cpp_lib_make_unique) || (__cpp_lib_make_unique != 201304)
# ifndef _enable_std_make_unique # ifndef _enable_std_make_unique
# define _enable_std_make_unique # define _enable_std_make_unique