Moved spdlog::make_unique to spdlog::details::make_unique and prevent T to be array

This commit is contained in:
gabime
2018-09-26 23:48:36 +03:00
parent e3a66473b2
commit e8dae26176
5 changed files with 47 additions and 43 deletions

View File

@@ -56,7 +56,7 @@ protected:
virtual void set_pattern_(const std::string &pattern)
{
set_formatter_(spdlog::make_unique<spdlog::pattern_formatter>(pattern));
set_formatter_(details::make_unique<spdlog::pattern_formatter>(pattern));
}
virtual void set_formatter_(std::unique_ptr<spdlog::formatter> sink_formatter)