1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-17 10:52:46 +00:00

Convert many of the now-deprecated plString::Format calls to plFormat

This commit is contained in:
2014-05-24 23:46:54 -07:00
parent 89a9bbb3c4
commit 1debf8180b
98 changed files with 404 additions and 413 deletions

View File

@ -774,8 +774,8 @@ bool plClient::MsgReceive(plMessage* msg)
plEventCallbackMsg* callback = plEventCallbackMsg::ConvertNoRef(msg);
if( callback )
{
plString str = plString::Format("Callback event from %s\n", callback->GetSender()
? callback->GetSender()->GetName().c_str()
plString str = plFormat("Callback event from {}\n", callback->GetSender()
? callback->GetSender()->GetName()
: "Unknown");
hsStatusMessage(str.c_str());
static int gotten = 0;

View File

@ -240,7 +240,7 @@ public:
const plPageInfo& info = page->GetPageInfo();
plFileName fileName = plFileName::Join(fOutputDir,
plString::Format("%s_%s.csv", info.GetAge().c_str(), info.GetPage().c_str()));
plFormat("{}_{}.csv", info.GetAge(), info.GetPage()));
fStream.Open(fileName, "wt");
page->LoadKeys();