summaryrefslogtreecommitdiffstats
path: root/labb3/tiles/TileList.h
diff options
context:
space:
mode:
Diffstat (limited to 'labb3/tiles/TileList.h')
-rw-r--r--labb3/tiles/TileList.h2
1 files changed, 1 insertions, 1 deletions
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).