mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-25 01:51:38 +08:00
Fix tidy warning
This commit is contained in:
parent
8302086942
commit
d7313a3274
@ -73,7 +73,7 @@ struct win32_error : public spdlog_ex
|
|||||||
return fmt::format("{}: {}{}", user_message, error_code, system_message);
|
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))
|
: spdlog_ex(format(func_name, error))
|
||||||
{}
|
{}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user