From 78c3d4c286f64c44323cbbcc8420c3e0c68788e5 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Wed, 26 Jan 2022 15:46:31 +0100 Subject: [PATCH] Fix build of C++ tests (squash) --- tests/cases/models/write_to_model.60 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/cases/models/write_to_model.60 b/tests/cases/models/write_to_model.60 index 50f56f0a795..78801d4a588 100644 --- a/tests/cases/models/write_to_model.60 +++ b/tests/cases/models/write_to_model.60 @@ -83,9 +83,9 @@ const TestCase &instance = *handle; sixtyfps::testing::send_mouse_click(&instance, 15., 5.); assert_eq(instance.get_clicked_score(), 792); -assert_eq(std::get<2>(instance.get_model()->row_data(1)), 792.); +assert_eq(std::get<2>(*instance.get_model()->row_data(1)), 792.); instance.invoke_manual_score_update(1, 100); -assert_eq(std::get<2>(instance.get_model()->row_data(1)), 892.); +assert_eq(std::get<2>(*instance.get_model()->row_data(1)), 892.); using ModelData = std::tuple; std::vector array;