- Timestamp:
- Nov 8, 2015, 3:12:17 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/libraries/core/input/InputManager.cc
r10768 r10778 39 39 #include <ois/OISException.h> 40 40 #include <ois/OISInputManager.h> 41 #include <boost/foreach.hpp>42 41 #include <loki/ScopeGuard.h> 43 42 … … 310 309 orxout(verbose, context::input) << "InputManager: Destroying devices..." << endl; 311 310 312 BOOST_FOREACH(InputDevice*& device,devices_)311 for (InputDevice*& device : devices_) 313 312 { 314 313 if (device == nullptr) … … 387 386 // Capture all the input and collect the function calls 388 387 // No event gets triggered here yet! 389 BOOST_FOREACH(InputDevice* device,devices_)388 for (InputDevice* device : devices_) 390 389 if (device != nullptr) 391 390 device->update(time); … … 466 465 void InputManager::clearBuffers() 467 466 { 468 BOOST_FOREACH(InputDevice* device,devices_)467 for (InputDevice* device : devices_) 469 468 if (device != nullptr) 470 469 device->clearBuffers(); … … 476 475 << "When done, put the axex in the middle position and press enter." << endl; 477 476 478 BOOST_FOREACH(InputDevice* device,devices_)477 for (InputDevice* device : devices_) 479 478 if (device != nullptr) 480 479 device->startCalibration(); … … 487 486 void InputManager::stopCalibration() 488 487 { 489 BOOST_FOREACH(InputDevice* device,devices_)488 for (InputDevice* device : devices_) 490 489 if (device != nullptr) 491 490 device->stopCalibration();
Note: See TracChangeset
for help on using the changeset viewer.