diff --git a/src/map/IMG/style.cpp b/src/map/IMG/style.cpp index 4720e1a5..0be0694a 100644 --- a/src/map/IMG/style.cpp +++ b/src/map/IMG/style.cpp @@ -966,7 +966,7 @@ const Style::Point &Style::point(quint32 type) const { static Point null; - QMap::const_iterator it = _points.find(type); + QMap::const_iterator it = _points.find(type); return (it == _points.constEnd()) ? null : *it; } diff --git a/src/map/IMG/style.h b/src/map/IMG/style.h index 81eeb0b8..68f3eacc 100644 --- a/src/map/IMG/style.h +++ b/src/map/IMG/style.h @@ -142,7 +142,7 @@ private: QMap _lines; QMap _polygons; - QMap _points; + QMap _points; QList _drawOrder; };