From 57a51aec9220b6f3874f6f930b1a71a59f5494e0 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Sat, 11 Jan 2025 22:17:00 +0100 Subject: fix InputTest/Button compilation --- src/test/InputTest.cpp | 30 +++++++++++++++++++++++------- 1 file changed, 23 insertions(+), 7 deletions(-) (limited to 'src') diff --git a/src/test/InputTest.cpp b/src/test/InputTest.cpp index 9a541a0..a1fe59a 100644 --- a/src/test/InputTest.cpp +++ b/src/test/InputTest.cpp @@ -216,7 +216,8 @@ TEST_F(InputTest, testButtonClick) { EXPECT_EQ(event.metadata.game_object_id, button_obj.id); return false; }); - auto & button = button_obj.add_component