From 5e715803631c58f5934eb41cf2a5ca3268d26796 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gustav=20S=C3=B6rn=C3=A4s?= Date: Tue, 22 Sep 2020 11:24:20 +0200 Subject: References --- labb3/tiles/TileList.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'labb3/tiles/TileList.h') diff --git a/labb3/tiles/TileList.h b/labb3/tiles/TileList.h index 3b5081f..6ba17c4 100644 --- a/labb3/tiles/TileList.h +++ b/labb3/tiles/TileList.h @@ -25,7 +25,7 @@ public: /* * Add `tile` to the tile list, possibly reallocating. O(1) amortized. */ - void addTile(Tile tile); + void addTile(const Tile &tile); /* * Draw all tiles to `scene`. O(n). -- cgit v1.2.1