Fix tidy warning

This commit is contained in:
gabime 2020-03-04 15:52:42 +02:00
parent 8302086942
commit d7313a3274

View File

@ -73,7 +73,7 @@ struct win32_error : public spdlog_ex
return fmt::format("{}: {}{}", user_message, error_code, system_message);
}
win32_error(std::string const &func_name, DWORD error = GetLastError())
explicit win32_error(std::string const &func_name, DWORD error = GetLastError())
: spdlog_ex(format(func_name, error))
{}
};