Skip to content

Commit

Permalink
Remove old FOONATHAN_THREAD_LOCAL macros
Browse files Browse the repository at this point in the history
Fixes #142.
  • Loading branch information
foonathan committed Sep 28, 2022
1 parent 87a2139 commit 9a17798
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/temporary_allocator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -216,9 +216,8 @@ temporary_stack& foonathan::memory::get_temporary_stack(std::size_t initial_size

namespace
{
FOONATHAN_THREAD_LOCAL alignas(
temporary_stack) char temporary_stack_storage[sizeof(temporary_stack)];
FOONATHAN_THREAD_LOCAL bool is_created = false;
thread_local alignas(temporary_stack) char temporary_stack_storage[sizeof(temporary_stack)];
thread_local bool is_created = false;

temporary_stack& get() noexcept
{
Expand Down

0 comments on commit 9a17798

Please sign in to comment.