mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-26 15:39:03 +08:00
Merge pull request #2102 from yzz-ihep/v1.x
fix mongo_sink<std::mutex>::instance_ template
This commit is contained in:
commit
8826011c81
@ -72,6 +72,7 @@ private:
|
|||||||
std::string coll_name_;
|
std::string coll_name_;
|
||||||
std::unique_ptr<mongocxx::client> client_ = nullptr;
|
std::unique_ptr<mongocxx::client> client_ = nullptr;
|
||||||
};
|
};
|
||||||
|
template<>
|
||||||
mongocxx::instance mongo_sink<std::mutex>::instance_{};
|
mongocxx::instance mongo_sink<std::mutex>::instance_{};
|
||||||
|
|
||||||
#include "spdlog/details/null_mutex.h"
|
#include "spdlog/details/null_mutex.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user