mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-23 22:22:05 +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
|
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…
Reference in New Issue
Block a user