From de0a16ab6507697d0c6539d9a5480faee8430cf4 Mon Sep 17 00:00:00 2001 From: Ivan Date: Mon, 4 Nov 2024 17:34:56 +0300 Subject: [PATCH] Use constinit in logs.cpp Not sure if it will compile yet. --- 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 8ef9404e20..42e355f75f 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::string text; - /*constinit thread_local*/ std::basic_string args; + constinit thread_local std::string text; + constinit thread_local std::vector args; static constexpr fmt_type_info empty_sup{};