mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 10:52:46 +00:00
Deprecate and remove xtl::format in favor of plString::Format
This commit is contained in:
@ -280,7 +280,7 @@ int plMsgStdStringHelper::Peek(std::string & stringref, hsStream* stream, const
|
||||
stringref.resize(strlen);
|
||||
if (strlen){
|
||||
stream->LogRead(strlen,(void*)stringref.data(),"StdString");
|
||||
stream->LogStringString(xtl::format("Value: %s", stringref.data()).c_str());
|
||||
stream->LogStringString(plString::Format("Value: %s", stringref.data()).c_str());
|
||||
}
|
||||
}
|
||||
else
|
||||
@ -302,7 +302,7 @@ int plMsgStdStringHelper::PeekBig(std::string & stringref, hsStream* stream, co
|
||||
stringref.resize(bufsz);
|
||||
if (bufsz){
|
||||
stream->LogRead(bufsz,(void*)stringref.data(),"StdString");
|
||||
stream->LogStringString(xtl::format("Value: %s", stringref.data()).c_str());
|
||||
stream->LogStringString(plString::Format("Value: %s", stringref.data()).c_str());
|
||||
}
|
||||
}
|
||||
else
|
||||
@ -357,7 +357,7 @@ int plMsgCStringHelper::Peek(char *& str, hsStream* stream, const uint32_t peekO
|
||||
str[strlen] = '\0';
|
||||
if (strlen) {
|
||||
stream->LogRead(strlen,str,"CString");
|
||||
stream->LogStringString(xtl::format("Value: %s",str).c_str());
|
||||
stream->LogStringString(plString::Format("Value: %s",str).c_str());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -157,8 +157,8 @@ public:
|
||||
|
||||
/////////////////////////////////////////////////////////////////
|
||||
// Helpers for reading/writing these types:
|
||||
// plString
|
||||
// std::string
|
||||
// xtl::istring
|
||||
// c strings (char *)
|
||||
// c arrays (type [])
|
||||
|
||||
|
Reference in New Issue
Block a user