diff --git a/stepmania/src/MenuInput.h b/stepmania/src/MenuInput.h index 9d16a58b03..4fde8a1ff3 100644 --- a/stepmania/src/MenuInput.h +++ b/stepmania/src/MenuInput.h @@ -32,8 +32,8 @@ struct MenuInput PlayerNumber player; MenuButton button; - bool operator==( const MenuInput &other ) { return player == other.player && button == other.button; }; - bool operator!=( const MenuInput &other ) { return !operator==(other); }; + bool operator==( const MenuInput &other ) const { return player == other.player && button == other.button; }; + bool operator!=( const MenuInput &other ) const { return !operator==(other); }; inline bool IsValid() const { return player != PLAYER_INVALID; }; inline void MakeInvalid() { player = PLAYER_INVALID; button = MenuButton_INVALID; };