From caf5cc78c5de26039c3dab58fdea143cb2263910 Mon Sep 17 00:00:00 2001 From: Ivan Date: Tue, 5 Nov 2024 23:30:19 +0300 Subject: [PATCH] Update logs.cpp --- rpcs3/util/logs.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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_)