renamed to "numberOf" instead of "valueOf" at String class.

This commit is contained in:
HuYingzhuo(hugo/hyzboy) 2023-02-03 17:43:04 +08:00
parent cf5c6315e8
commit 39fbdef7a6
2 changed files with 4 additions and 4 deletions

View File

@ -88,7 +88,7 @@ namespace hgl
if(result!=txt.Length())
{
error_info=OS_TEXT("[ERROR][SaveJson] Save file failed, only write ")+OSString::valueOf(result)+OS_TEXT("/")+OSString::valueOf(txt.Length());
error_info=OS_TEXT("[ERROR][SaveJson] Save file failed, only write ")+OSString::numberOf(result)+OS_TEXT("/")+OSString::numberOf(txt.Length());
return(false);
}

View File

@ -66,11 +66,11 @@ namespace hgl
const UTF8String GetExpatVersion()
{
return( UTF8String::valueOf(XML_MAJOR_VERSION)+
return( UTF8String::numberOf(XML_MAJOR_VERSION)+
UTF8String(U8_TEXT("."))+
UTF8String::valueOf(XML_MINOR_VERSION)+
UTF8String::numberOf(XML_MINOR_VERSION)+
UTF8String(U8_TEXT("."))+
UTF8String::valueOf(XML_MICRO_VERSION));
UTF8String::numberOf(XML_MICRO_VERSION));
}
const char *GetExpatError(int code)