1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-18 19:29:09 +00:00

Deprecate and remove xtl::format in favor of plString::Format

This commit is contained in:
2013-01-01 19:01:34 -08:00
parent f510b529f8
commit 60021923a2
33 changed files with 114 additions and 336 deletions

View File

@ -91,11 +91,9 @@ void plDniCoordinateInfo::Write( hsStream* s, hsResMgr* mgr )
s->WriteLE( fTorans );
}
std::string plDniCoordinateInfo::AsStdString( int level ) const
plString plDniCoordinateInfo::AsString( int level ) const
{
std::string result;
std::string space( level, ' ' );
xtl::format( result, "%sDniCoords[%d,%d,%d]", space.c_str(), fHSpans, fVSpans, fTorans );
return result;
plString space = plString::Fill( level, ' ' );
return plString::Format( "%sDniCoords[%d,%d,%d]", space.c_str(), fHSpans, fVSpans, fTorans );
}
#endif // def CLIENT

View File

@ -80,7 +80,7 @@ public:
void Write( hsStream* s, hsResMgr* mgr );
// debug
std::string AsStdString( int level=0 ) const;
plString AsString( int level=0 ) const;
};