remove unused

This commit is contained in:
Glenn Maynard
2006-10-07 06:28:07 +00:00
parent 8d44405523
commit 0acad3b003
2 changed files with 0 additions and 17 deletions
-14
View File
@@ -73,20 +73,6 @@ void IPreference::SetFromStack( lua_State *L )
lua_pop( L, 1 );
}
#define READFROM_AND_WRITETO( type ) \
template<> RString PrefToString( const type &v ) \
{ \
return ::ToString( v ); \
} \
template<> void PrefFromString( const RString &s, type &v ) \
{ \
::FromString( s, v ); \
}
READFROM_AND_WRITETO( int )
READFROM_AND_WRITETO( float )
READFROM_AND_WRITETO( bool )
READFROM_AND_WRITETO( RString )
void IPreference::ReadFrom( const XNode* pNode, bool bIsStatic )
{
-3
View File
@@ -44,9 +44,6 @@ private:
void BroadcastPreferenceChanged( const RString& sPreferenceName );
template <class BasicType> RString PrefToString( const BasicType &v );
template <class BasicType> void PrefFromString( const RString &s, BasicType &v );
template <class T, class BasicType=T>
class Preference : public IPreference
{