Changeset 10916 for code/branches/cpp11_v2/src/libraries/core/Loader.cc
- Timestamp:
- Dec 2, 2015, 11:22:03 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/libraries/core/Loader.cc
r10821 r10916 165 165 std::ostringstream message; 166 166 message << "Possible sources of error:" << endl; 167 for ( auto & linesource: linesources)167 for (const std::pair<std::string, size_t>& pair : linesources) 168 168 { 169 message << linesource.first << ", Line " << linesource.second << endl;169 message << pair.first << ", Line " << pair.second << endl; 170 170 } 171 171 orxout(user_error, context::loader) << message.str() << endl; … … 261 261 { 262 262 bool expectedValue = true; 263 for (auto & luaTag: luaTags)264 { 265 if ( luaTag.second == expectedValue)263 for (auto& mapEntry : luaTags) 264 { 265 if (mapEntry.second == expectedValue) 266 266 expectedValue = !expectedValue; 267 267 else
Note: See TracChangeset
for help on using the changeset viewer.