diff options
author | artemp <artem@mapnik.org> | 2014-10-27 13:34:22 -0400 |
---|---|---|
committer | artemp <artem@mapnik.org> | 2014-10-27 14:18:11 -0400 |
commit | e4294ec29446a6b1944d4d977d162d0a6bb4573f (patch) | |
tree | 807c89e5b1aea4529c37ada2efcedd432c13cf0d /src | |
parent | 9364fd7322166578f6f0b7b57273db5a20bea2f7 (diff) | |
download | qtlocation-mapboxgl-e4294ec29446a6b1944d4d977d162d0a6bb4573f.tar.gz |
use prefix operator++
Diffstat (limited to 'src')
-rw-r--r-- | src/style/style_layer.cpp | 2 |
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); |