diff --git a/src/spdlog.cpp b/src/spdlog.cpp index b3cf0b3c..f6047847 100644 --- a/src/spdlog.cpp +++ b/src/spdlog.cpp @@ -15,7 +15,7 @@ namespace spdlog { static std::shared_ptr s_context = #ifndef SPDLOG_DISABLE_GLOBAL_LOGGER - std::make_unique(std::make_unique("", std::make_unique())); + std::make_unique(std::make_unique(std::string(), std::make_unique())); #else std::make_unique(); // empty context #endif