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