Update logs.cpp

This commit is contained in:
Ivan 2024-11-05 23:56:10 +03:00 committed by GitHub
parent caf5cc78c5
commit 65abf2c2cb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -397,7 +397,7 @@ void logs::message::broadcast(const char* fmt, const fmt_type_info* sup, ...) co
g_tls_log_control(fmt, 0);
// Get text, extract va_args
constinit thread_local std::unique_ptr<std::string> text{};
constinit thread_local std::unique_ptr<std::string> text_{};
constinit thread_local std::unique_ptr<std::vector<u64>> args_{};
if (!text_)
text_ = std::make_unique<std::string>();