Commit 375b7fdd authored by John Andre Hestad's avatar John Andre Hestad

Fix SPDLOG_WCHAR_TO_UTF8_SUPPORT wchar_t logging

parent 3a21b765
......@@ -326,6 +326,7 @@ inline void spdlog::logger::critical_if(const bool flag, const T& msg)
#ifdef SPDLOG_WCHAR_TO_UTF8_SUPPORT
#include <codecvt>
#include <locale>
template <typename... Args>
inline void spdlog::logger::log(level::level_enum lvl, const wchar_t* msg)
......@@ -399,7 +400,7 @@ inline void spdlog::logger::log_if(const bool flag, level::level_enum lvl, const
{
if (flag)
{
log(lvl, fmt, args);
log(lvl, fmt, args...);
}
}
......
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