fix mongo_sink<std::mutex>::instance_ template

This commit is contained in:
yunzhong 2021-09-12 15:25:55 +08:00 committed by GitHub
parent 7812a4c89f
commit d6a78cb85b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

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"