From e26c01fe66bc698555fdee9d681b3abd6822848a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 22 Aug 2017 00:17:03 +0300 Subject: Remove some parentheses. --- src/resources/map/speciallayer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/resources/map') diff --git a/src/resources/map/speciallayer.cpp b/src/resources/map/speciallayer.cpp index 27713e074..ad186c2d9 100644 --- a/src/resources/map/speciallayer.cpp +++ b/src/resources/map/speciallayer.cpp @@ -104,7 +104,7 @@ void SpecialLayer::addRoad(const Path &road) { FOR_EACH (Path::const_iterator, i, road) { - const Position &pos = (*i); + const Position &pos = *i; MapItem *const item = getTile(pos.x, pos.y); if (item == nullptr) setTile(pos.x, pos.y, new MapItem(MapItemType::ROAD)); -- cgit v1.2.3-60-g2f50