Index: compiled/StringMap.h |
=================================================================== |
--- a/compiled/StringMap.h |
+++ b/compiled/StringMap.h |
@@ -319,18 +319,18 @@ public: |
explicit StringMap(size_type expectedEntries = 0) |
: super(expectedEntries) |
{ |
} |
StringMap(std::initializer_list<entry_type> list) |
: super(list.size()) |
{ |
- for (auto it = list.begin(); it != list.end(); ++it) |
- super::insert(*it); |
+ for (const auto& item : list) |
+ super::insert(item); |
} |
~StringMap() |
{ |
} |
T& operator[](const String& key) |
{ |