mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-26 14:51:48 +08:00
e819a7d0ae
* Update and cleanup * Fix C++14 guard for MSVC * Force mongo-cxx-driver feature boost in CI
14 lines
398 B
Diff
14 lines
398 B
Diff
diff --git a/src/bsoncxx/stdx/make_unique.hpp b/src/bsoncxx/stdx/make_unique.hpp
|
|
index d954eae..c4dea9d 100644
|
|
--- a/src/bsoncxx/stdx/make_unique.hpp
|
|
+++ b/src/bsoncxx/stdx/make_unique.hpp
|
|
@@ -48,7 +48,7 @@ using ::boost::make_unique;
|
|
BSONCXX_INLINE_NAMESPACE_END
|
|
} // namespace bsoncxx
|
|
|
|
-#elif __cplusplus >= 201402L
|
|
+#elif __cplusplus >= 201402L || defined(_MSVC_LANG)
|
|
|
|
#include <memory>
|
|
|