Various minor changes to aid compiling with std14 (#182)
These changes make the code compile in clang10 with -std14.
This commit is contained in:
committed by
GitHub
parent
c899ee7ab2
commit
a9cfc3a2b4
@@ -19,7 +19,7 @@ namespace snmalloc
|
||||
union
|
||||
{
|
||||
Remote* non_atomic_next;
|
||||
std::atomic<Remote*> next = nullptr;
|
||||
std::atomic<Remote*> next{nullptr};
|
||||
};
|
||||
|
||||
alloc_id_t allocator_id;
|
||||
|
||||
Reference in New Issue
Block a user