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

@ -310,8 +310,8 @@ const char* plUnifiedTime::Print() const
// short year, month, day, hour, minute, second;
// GetTime(year, month, day, hour, minute, second);
//
// xtl::format(s,"yr %d mo %d day %d hour %d min %d sec %d",
// year, month, day, hour, minute, second);
// s = plString::Format("yr %d mo %d day %d hour %d min %d sec %d",
// year, month, day, hour, minute, second);
s = Format("%c");
return s.c_str();
@ -319,8 +319,8 @@ const char* plUnifiedTime::Print() const
const char* plUnifiedTime::PrintWMillis() const
{
static std::string s;
xtl::format(s,"%s,s:%lu,ms:%d",
static plString s;
s = plString::Format("%s,s:%lu,ms:%d",
Print(), (unsigned long)GetSecs(), GetMillis() );
return s.c_str();
}