Commit cb6eadc2 authored by Florian Oetke's avatar Florian Oetke
Browse files

fixed invariant in component pool

parent e4f5314a
Pipeline #3386 passed with stage
in 15 minutes and 8 seconds
......@@ -369,7 +369,7 @@ namespace mirrage::util {
F&& on_relocate,
const index_t count)
{
MIRRAGE_INVARIANT((src < dst && src + count < dst) || (dst < src && dst + count < src),
MIRRAGE_INVARIANT(src > dst || src + count < dst,
"_move_elements_uninitialized with overlapping ranges");
auto c_src = src;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment