make toString const
This commit is contained in:
@@ -305,7 +305,7 @@ DeviceButton StringToDeviceButton( InputDevice device, const CString& s )
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
CString DeviceInput::toString()
|
CString DeviceInput::toString() const
|
||||||
{
|
{
|
||||||
if( device == DEVICE_NONE )
|
if( device == DEVICE_NONE )
|
||||||
return "";
|
return "";
|
||||||
|
|||||||
@@ -359,7 +359,7 @@ public:
|
|||||||
return ! operator==( other );
|
return ! operator==( other );
|
||||||
}
|
}
|
||||||
|
|
||||||
CString toString();
|
CString toString() const;
|
||||||
bool fromString( const CString &s );
|
bool fromString( const CString &s );
|
||||||
|
|
||||||
bool IsValid() const { return device != DEVICE_NONE; };
|
bool IsValid() const { return device != DEVICE_NONE; };
|
||||||
|
|||||||
Reference in New Issue
Block a user