fix: add missing thread_local specifier

This commit is contained in:
Sergiu Deitsch 2023-10-15 18:47:39 +02:00
parent b45f5b4c82
commit 931323df21
No known key found for this signature in database

View File

@ -1560,7 +1560,7 @@ static thread_local bool thread_data_available = true;
#if defined(__cpp_lib_byte) && __cpp_lib_byte >= 201603L
// std::aligned_storage is deprecated in C++23
alignas(LogMessage::LogMessageData) static std::byte
alignas(LogMessage::LogMessageData) static thread_local std::byte
thread_msg_data[sizeof(LogMessage::LogMessageData)];
#else // !(defined(__cpp_lib_byte) && __cpp_lib_byte >= 201603L)
static thread_local std::aligned_storage<