Changeset 3331 for code/trunk/src/core/input
- Timestamp:
- Jul 21, 2009, 12:08:59 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/core/input/InputManager.cc
r3327 r3331 208 208 guard.Dismiss(); 209 209 } 210 catch ( std::exception& ex)210 catch (const std::exception& ex) 211 211 { 212 212 oisInputManager_ = NULL; … … 234 234 devices_[InputDeviceEnumerator::Mouse] = new Mouse(InputDeviceEnumerator::Mouse, oisInputManager_); 235 235 } 236 catch (const OIS::Exception& ex)237 { 238 CCOUT(2) << "Warning: Failed to create Mouse:" << ex. eText<< std::endl236 catch (const std::exception& ex) 237 { 238 CCOUT(2) << "Warning: Failed to create Mouse:" << ex.what() << std::endl 239 239 << "Proceeding without mouse support." << std::endl; 240 240 } … … 253 253 devices_.push_back(new JoyStick(InputDeviceEnumerator::FirstJoyStick + i, oisInputManager_)); 254 254 } 255 catch ( std::exceptionex)255 catch (const std::exception& ex) 256 256 { 257 257 CCOUT(2) << "Warning: Failed to create joy stick: " << ex.what() << std::endl;
Note: See TracChangeset
for help on using the changeset viewer.