Skip to content

Commit

Permalink
Correct order of test based on #618 (#619)
Browse files Browse the repository at this point in the history
  • Loading branch information
mjp41 authored Jun 20, 2023
1 parent ce489cf commit 95bad42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/snmalloc/mem/remoteallocator.h
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 95bad42

Please sign in to comment.