From c5d16a2ce8b0913b747b475bce5ae842d4c51112 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Mon, 15 Aug 2005 16:03:00 +0000 Subject: [PATCH] make toString const --- stepmania/src/RageInputDevice.cpp | 2 +- stepmania/src/RageInputDevice.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/RageInputDevice.cpp b/stepmania/src/RageInputDevice.cpp index af9513af64..518540c5df 100644 --- a/stepmania/src/RageInputDevice.cpp +++ b/stepmania/src/RageInputDevice.cpp @@ -305,7 +305,7 @@ DeviceButton StringToDeviceButton( InputDevice device, const CString& s ) } } -CString DeviceInput::toString() +CString DeviceInput::toString() const { if( device == DEVICE_NONE ) return ""; diff --git a/stepmania/src/RageInputDevice.h b/stepmania/src/RageInputDevice.h index 670f9a4fd9..481f8ef403 100644 --- a/stepmania/src/RageInputDevice.h +++ b/stepmania/src/RageInputDevice.h @@ -359,7 +359,7 @@ public: return ! operator==( other ); } - CString toString(); + CString toString() const; bool fromString( const CString &s ); bool IsValid() const { return device != DEVICE_NONE; };