summaryrefslogtreecommitdiffstats
path: root/labb3/tiles/TileList.h
diff options
context:
space:
mode:
authorGustav Sörnäs <gustav@sornas.net>2020-09-22 11:24:20 +0200
committerGustav Sörnäs <gustav@sornas.net>2020-09-22 11:24:20 +0200
commit5e715803631c58f5934eb41cf2a5ca3268d26796 (patch)
treeb2c67a10a4c1d745250effbba30e9906f35faa96 /labb3/tiles/TileList.h
parent3f26c22f0f12102ffd42f123b7a066ea07042a58 (diff)
downloadtddd86-5e715803631c58f5934eb41cf2a5ca3268d26796.tar.gz
References
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).