From a4af9640c9bfc7f0b458a48280c23dc45a3b9453 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20Br=C3=BCbach?= Date: Thu, 21 May 2026 20:17:50 +0200 Subject: [PATCH] Pass by const reference. Took 10 minutes --- cockatrice/src/game/game_scene.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cockatrice/src/game/game_scene.h b/cockatrice/src/game/game_scene.h index 83d2c5935..3dd53e50c 100644 --- a/cockatrice/src/game/game_scene.h +++ b/cockatrice/src/game/game_scene.h @@ -200,7 +200,7 @@ public slots: QTransform getViewTransform() const; QTransform getViewportTransform() const; - void onArrowCreateRequested(ArrowData data); + void onArrowCreateRequested(const ArrowData &data); void onArrowDeleteRequested(int arrowId); void onCardZoneChanged(CardItem *card, bool sameZone); void clearArrowsForPlayer(int playerId);