Changed mongo_sink.h so that it does not use C++14-specific std::make_unique

This commit is contained in:
Bartlomiej Janowski 2021-08-02 13:38:59 +02:00
parent f237947bdc
commit a9c01aba78

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;
}