Fix compilation

This commit is contained in:
momo5502
2025-01-26 08:10:18 +01:00
parent 45d7c542c3
commit 59b82a5e0d

View File

@@ -109,8 +109,8 @@ namespace test
const auto has_diff = has_diff_after_count(pivot);
auto& bound = has_diff ? upper_bound : lower_bound;
bound = pivot;
auto* bound = has_diff ? &upper_bound : &lower_bound;
*bound = pivot;
printf("Bounds: %" PRIx64 " - %" PRIx64 "\n", lower_bound, upper_bound);
}