fix bug that C++14 detection uses a wrong number
This commit is contained in:
parent
bd5e9fdc4a
commit
50db6f81f0
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user