diff --git a/src/windows-emulator-test/emulation_test_utils.hpp b/src/windows-emulator-test/emulation_test_utils.hpp index 18feb1b7..d1f3a4a0 100644 --- a/src/windows-emulator-test/emulation_test_utils.hpp +++ b/src/windows-emulator-test/emulation_test_utils.hpp @@ -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); }