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:
@ -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
|
||||
|
@ -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;
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user