don't pass around pointers if all we need is the state

This commit is contained in:
Konstantin Käfer
2014-03-05 09:56:36 +01:00
parent 027c6f33b3
commit a3a1b812c8
5 changed files with 43 additions and 43 deletions

View File

@@ -132,7 +132,7 @@ void Painter::clear() {
void Painter::render(const Tile& tile) {
assert(tile.data);
if (tile.data->state != TileData::parsed) {
if (tile.data->state != TileData::State::parsed) {
return;
}