Merge pull request #2025 from jabartek/mongo_make_unique

Removal of C++14-specific std::make_unique from mongo_sink.h
This commit is contained in:
Gabi Melman 2021-08-02 15:24:02 +03:00 committed by GitHub
commit 3547d7e24f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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