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 )
{