Skip to content
This repository was archived by the owner on Jun 30, 2025. It is now read-only.

Commit 931323d

Browse files
committed
fix: add missing thread_local specifier
1 parent b45f5b4 commit 931323d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/logging.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1560,7 +1560,7 @@ static thread_local bool thread_data_available = true;
15601560

15611561
#if defined(__cpp_lib_byte) && __cpp_lib_byte >= 201603L
15621562
// std::aligned_storage is deprecated in C++23
1563-
alignas(LogMessage::LogMessageData) static std::byte
1563+
alignas(LogMessage::LogMessageData) static thread_local std::byte
15641564
thread_msg_data[sizeof(LogMessage::LogMessageData)];
15651565
#else // !(defined(__cpp_lib_byte) && __cpp_lib_byte >= 201603L)
15661566
static thread_local std::aligned_storage<

0 commit comments

Comments
 (0)