mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-24 17:41:34 +08:00
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:
commit
3547d7e24f
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user