Skip to content

Commit 95bad42

Browse files
authored
Correct order of test based on #618 (#619)
1 parent ce489cf commit 95bad42

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/snmalloc/mem/remoteallocator.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ namespace snmalloc
6565
void invariant()
6666
{
6767
SNMALLOC_ASSERT(
68-
(back != nullptr) ||
69-
(address_cast(front.load()) == address_cast(&stub)));
68+
(address_cast(front.load()) == address_cast(&stub)) ||
69+
(back != nullptr));
7070
}
7171

7272
void init()

0 commit comments

Comments
 (0)