From 59b82a5e0da9f4f1ec0db2aabae9e53a11c91976 Mon Sep 17 00:00:00 2001 From: momo5502 Date: Sun, 26 Jan 2025 08:10:18 +0100 Subject: [PATCH] Fix compilation --- src/windows-emulator-test/emulation_test_utils.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); }