mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-27 20:32:21 +01:00
Core/Logging: Switch from fmt::sprintf to fmt::format (c++20 standard compatible api)
This commit is contained in:
@@ -26,7 +26,7 @@ bool Battlenet::SslContext::Initialize()
|
||||
#define LOAD_CHECK(fn) do { fn; \
|
||||
if (err) \
|
||||
{ \
|
||||
TC_LOG_ERROR("server.ssl", #fn " failed: %s", err.message().c_str()); \
|
||||
TC_LOG_ERROR("server.ssl", #fn " failed: {}", err.message()); \
|
||||
return false; \
|
||||
} } while (0)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user