#include "mongo_access.h" mongo_access::mongo_access(void) {}; mongo_access::~mongo_access(void) {}; void mongo_access::configure(mongocxx::uri uri) { class noop_logger : public mongocxx::logger { public: virtual void operator()(mongocxx::log_level, bsoncxx::stdx::string_view, bsoncxx::stdx::string_view) noexcept {} }; _pool = bsoncxx::stdx::make_unique(std::move(uri)); _instance = bsoncxx::stdx::make_unique(bsoncxx::stdx::make_unique()); }