Merge pull request #2025 from jabartek/mongo_make_unique

Removal of C++14-specific std::make_unique from mongo_sink.h
pull/2029/head
Gabi Melman 4 years ago committed by GitHub
commit 3547d7e24f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -33,7 +33,7 @@ public:
{ {
try try
{ {
client_ = std::make_unique<mongocxx::client>(mongocxx::uri{uri}); client_ = spdlog::details::make_unique<mongocxx::client>(mongocxx::uri{uri});
db_name_ = db_name; db_name_ = db_name;
coll_name_ = collection_name; coll_name_ = collection_name;
} }

Loading…
Cancel
Save