From a6ee1cf5905100e780aa43261dbb2c716103a22e Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Sat, 1 Sep 2018 21:56:19 +0300 Subject: [PATCH] fix vc compliation error about make_unique --- include/spdlog/details/registry.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/spdlog/details/registry.h b/include/spdlog/details/registry.h index bbe083e2..2016e341 100644 --- a/include/spdlog/details/registry.h +++ b/include/spdlog/details/registry.h @@ -16,7 +16,7 @@ #include #include -#include +#include #include @@ -113,7 +113,7 @@ public: { std::lock_guard lock(flusher_mutex_); std::function clbk = std::bind(®istry::flush_all, this); - periodic_flusher_ = make_unique(clbk, interval); + periodic_flusher_ = spdlog::make_unique(clbk, interval); } void set_error_handler(log_err_handler handler)