Unverified Commit a6ee1cf5 authored by Gabi Melman's avatar Gabi Melman Committed by GitHub

fix vc compliation error about make_unique

parent ebce9794
......@@ -16,7 +16,7 @@
#include <chrono>
#include <functional>
#include <memory>
#include <memory
#include <string>
#include <unordered_map>
......@@ -113,7 +113,7 @@ public:
{
std::lock_guard<std::mutex> lock(flusher_mutex_);
std::function<void()> clbk = std::bind(&registry::flush_all, this);
periodic_flusher_ = make_unique<periodic_worker>(clbk, interval);
periodic_flusher_ = spdlog::make_unique<periodic_worker>(clbk, interval);
}
void set_error_handler(log_err_handler handler)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment