summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorartemp <artem@mapnik.org>2014-10-27 13:34:22 -0400
committerartemp <artem@mapnik.org>2014-10-27 14:18:11 -0400
commite4294ec29446a6b1944d4d977d162d0a6bb4573f (patch)
tree807c89e5b1aea4529c37ada2efcedd432c13cf0d /src
parent9364fd7322166578f6f0b7b57273db5a20bea2f7 (diff)
downloadqtlocation-mapboxgl-e4294ec29446a6b1944d4d977d162d0a6bb4573f.tar.gz
use prefix operator++
Diffstat (limited to 'src')
-rw-r--r--src/style/style_layer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/style/style_layer.cpp b/src/style/style_layer.cpp
index 4d64386be8..ded73c0444 100644
--- a/src/style/style_layer.cpp
+++ b/src/style/style_layer.cpp
@@ -20,7 +20,7 @@ void StyleLayer::setClasses(const std::vector<std::string> &class_names, const t
std::set<PropertyKey> already_applied;
// Reverse iterate through all class names and apply them last to first.
- for (auto it = class_names.rbegin(); it != class_names.rend(); it++) {
+ for (auto it = class_names.rbegin(); it != class_names.rend(); ++it) {
const std::string &class_name = *it;
// From here on, we're only dealing with IDs to avoid comparing strings all the time.
const ClassID class_id = ClassDictionary::Get().lookup(class_name);