[mongo-cxx-driver] Update to 3.7.2 (#32459)

This commit is contained in:
Kai Pastor 2023-07-10 18:54:16 +02:00 committed by GitHub
parent 48b9da7ef0
commit cc80359416
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 8 additions and 19 deletions

View File

@ -1,13 +0,0 @@
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>

View File

@ -1,14 +1,11 @@
vcpkg_minimum_required(VERSION 2022-10-12) # for ${VERSION}
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO mongodb/mongo-cxx-driver
REF "r${VERSION}"
SHA512 d30404b0201bd211633b167d874406598481c69de85a00034dfde8b6bc38cced59f7b705327c239b16231f9570bfc2bf29659fef9bb18338fcb8af04403169e2
SHA512 de4737fab399e342c8153b2a14d097e54250fd66ca58c3120634bc08cb1943dc2808b81adf8e7a2f7edeb12607ae418c887667548600eee585ba5b27ebdf16b5
HEAD_REF master
PATCHES
fix-dependencies.patch
fix-msvc-cxx17.patch
)
file(WRITE "${SOURCE_PATH}/build/VERSION_CURRENT" "${VERSION}")

View File

@ -1,6 +1,6 @@
{
"name": "mongo-cxx-driver",
"version": "3.7.0",
"version": "3.7.2",
"description": "MongoDB C++ Driver.",
"homepage": "https://github.com/mongodb/mongo-cxx-driver",
"license": "Apache-2.0",

View File

@ -5389,7 +5389,7 @@
"port-version": 0
},
"mongo-cxx-driver": {
"baseline": "3.7.0",
"baseline": "3.7.2",
"port-version": 0
},
"mongoose": {

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "00588be07af8844394ca81106324a42f5d29d684",
"version": "3.7.2",
"port-version": 0
},
{
"git-tree": "b1003de5a9787e8f819b67f4ca0fdf709af706e5",
"version": "3.7.0",