Skip to content

Commit

Permalink
Fix compilation for assertions builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
insertinterestingnamehere committed Sep 17, 2024
1 parent 855a8a8 commit 31ee0b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hashmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ void INTERNAL qt_hash_destroy_deallocate(qt_hash h,
}
}
}
assert(visited == atomic_load_explicit(&h->population));
assert(visited == atomic_load_explicit(&h->population, memory_order_relaxed));
if (h->lock) { QTHREAD_FASTLOCK_UNLOCK(h->lock); }
qt_hash_destroy(h);
} /*}}}*/
Expand Down

0 comments on commit 31ee0b9

Please sign in to comment.