diff --git a/rpcs3/util/logs.cpp b/rpcs3/util/logs.cpp index 4b3c505a96..191b02ad0c 100644 --- a/rpcs3/util/logs.cpp +++ b/rpcs3/util/logs.cpp @@ -397,8 +397,8 @@ 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 text(); - constinit thread_local std::unique_ptr> args_(); + constinit thread_local std::unique_ptr text{}; + constinit thread_local std::unique_ptr> args_{}; if (!text_) text_ = std::make_unique(); if (!args_)