From a9c01aba78b34f7033323615a8d0fa66c36573c8 Mon Sep 17 00:00:00 2001 From: Bartlomiej Janowski Date: Mon, 2 Aug 2021 13:38:59 +0200 Subject: [PATCH] Changed mongo_sink.h so that it does not use C++14-specific std::make_unique --- include/spdlog/sinks/mongo_sink.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/spdlog/sinks/mongo_sink.h b/include/spdlog/sinks/mongo_sink.h index 048b457c..10573cf1 100644 --- a/include/spdlog/sinks/mongo_sink.h +++ b/include/spdlog/sinks/mongo_sink.h @@ -33,7 +33,7 @@ public: { try { - client_ = std::make_unique(mongocxx::uri{uri}); + client_ = spdlog::details::make_unique(mongocxx::uri{uri}); db_name_ = db_name; coll_name_ = collection_name; }