Summary: MSVC doesn't define `__cplusplus` as a high enough value to trigger this, so add an explicit check for MSVC instead.
Reviewed By: yfeldblum
Differential Revision:
D3271647
fbshipit-source-id:
a1e5a5a7eb75dce066dfc7fae8b2086880dc4c3d
* @author Xu Ning (xning@fb.com)
*/
-#if __cplusplus >= 201402L || \
- defined __cpp_lib_make_unique && __cpp_lib_make_unique >= 201304L
+#if __cplusplus >= 201402L || \
+ (defined __cpp_lib_make_unique && __cpp_lib_make_unique >= 201304L) || \
+ (defined(_MSC_VER) && _MSC_VER >= 1900)
/* using override */ using std::make_unique;