mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-23 14:12:06 +08:00
Changed mongo_sink.h so that it does not use C++14-specific std::make_unique
This commit is contained in:
parent
f237947bdc
commit
a9c01aba78
@ -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