diff --git a/stepmania/src/EnumHelper.h b/stepmania/src/EnumHelper.h index 8e28708fcf..11df78df40 100644 --- a/stepmania/src/EnumHelper.h +++ b/stepmania/src/EnumHelper.h @@ -35,13 +35,9 @@ static inline void enum_add( T &val, int iAmt ) #define FOREACH_ENUM( e, max, var ) for( e var=(e)0; var( var, +1 ) ) -static const CString EMPTY_STRING; - #define XToString(X, CNT) \ const CString& X##ToString( X x ) \ { \ - if( x == ARRAYSIZE(X##Names)+1 ) \ - return EMPTY_STRING; \ ASSERT(unsigned(x) < CNT); \ return X##Names[x]; \ }