Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3275 for code/branches


Ignore:
Timestamp:
Jul 12, 2009, 4:44:27 PM (15 years ago)
Author:
rgrieder
Message:

Build fixes for actual compilers

Location:
code/branches/core4/src/core/input
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core4/src/core/input/Keyboard.cc

    r3274 r3275  
    4343            modifiers_ |= KeyboardModifier::Shift; // shift key
    4444
    45         super::buttonPressed(KeyEvent(arg));
     45        KeyEvent evt(arg);
     46        super::buttonPressed(evt);
    4647        return true;
    4748    }
     
    5859            modifiers_ &= ~KeyboardModifier::Shift; // shift key
    5960
    60         super::buttonReleased(KeyEvent(arg));
     61        KeyEvent evt(arg);
     62        super::buttonReleased(evt);
    6163        return true;
    6264    }
  • code/branches/core4/src/core/input/Keyboard.h

    r3274 r3275  
    4646        , public OIS::KeyListener
    4747    {
    48         friend InputDeviceTemplated<KeyboardTraits>;
     48        friend class InputDeviceTemplated<KeyboardTraits>;
    4949        //! Super class alias
    5050        typedef InputDeviceTemplated<KeyboardTraits> super;
  • code/branches/core4/src/core/input/Mouse.h

    r3274 r3275  
    4444        , public OIS::MouseListener
    4545    {
    46         friend InputDeviceTemplated<MouseTraits>;
     46        friend class InputDeviceTemplated<MouseTraits>;
    4747        //! Super class alias
    4848        typedef InputDeviceTemplated<MouseTraits> super;
Note: See TracChangeset for help on using the changeset viewer.