Correct order of test based on #618 (#619)

This commit is contained in:
Matthew Parkinson
2023-06-20 12:16:45 -04:00
committed by GitHub
parent ce489cfffe
commit 95bad423a7

View File

@@ -65,8 +65,8 @@ namespace snmalloc
void invariant()
{
SNMALLOC_ASSERT(
(back != nullptr) ||
(address_cast(front.load()) == address_cast(&stub)));
(address_cast(front.load()) == address_cast(&stub)) ||
(back != nullptr));
}
void init()