- Timestamp:
- Dec 5, 2015, 10:47:51 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/libraries/core/input/InputManager.cc
r10917 r10919 531 531 { 532 532 // Make sure we don't add two high priority states with the same priority 533 for (std::map<std::string, InputState*>::const_iterator it = this->statesByName_.begin(); 534 it != this->statesByName_.end(); ++it) 533 for (const auto& mapEntry : this->statesByName_) 535 534 { 536 if ( it->second->getPriority() == priority)535 if (mapEntry.second->getPriority() == priority) 537 536 { 538 537 orxout(internal_warning, context::input) << "Could not add an InputState with the same priority '"
Note: See TracChangeset
for help on using the changeset viewer.