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

pull/2025/head
Bartlomiej Janowski 4 years ago
parent f237947bdc
commit a9c01aba78

@ -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