Merge pull request #2102 from yzz-ihep/v1.x

fix mongo_sink<std::mutex>::instance_ template
This commit is contained in:
Gabi Melman 2021-09-12 15:51:56 +03:00 committed by GitHub
commit 8826011c81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,6 +72,7 @@ private:
std::string coll_name_;
std::unique_ptr<mongocxx::client> client_ = nullptr;
};
template<>
mongocxx::instance mongo_sink<std::mutex>::instance_{};
#include "spdlog/details/null_mutex.h"