mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-26 02:21:34 +08:00
fix mongo_sink<std::mutex>::instance_ template
This commit is contained in:
parent
7812a4c89f
commit
d6a78cb85b
@ -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