mirror of
https://github.com/cemu-project/vcpkg.git
synced 2024-12-14 06:38:59 +00:00
Rename wchar_t overload of format_internal to wformat_internal
This commit is contained in:
parent
8e3ee05230
commit
a4ab4fd241
@ -31,7 +31,7 @@ namespace vcpkg {namespace Strings {namespace details
|
||||
return s;
|
||||
}
|
||||
|
||||
std::wstring format_internal(const wchar_t* fmtstr, ...);
|
||||
std::wstring wformat_internal(const wchar_t* fmtstr, ...);
|
||||
}}}
|
||||
|
||||
namespace vcpkg {namespace Strings
|
||||
@ -47,7 +47,7 @@ namespace vcpkg {namespace Strings
|
||||
std::wstring format(const wchar_t* fmtstr, const Args&...args)
|
||||
{
|
||||
using vcpkg::Strings::details::to_wprintf_arg;
|
||||
return details::format_internal(fmtstr, to_wprintf_arg(to_wprintf_arg(args))...);
|
||||
return details::wformat_internal(fmtstr, to_wprintf_arg(to_wprintf_arg(args))...);
|
||||
}
|
||||
|
||||
std::wstring utf8_to_utf16(const std::string& s);
|
||||
|
@ -20,7 +20,7 @@ namespace vcpkg {namespace Strings {namespace details
|
||||
return output;
|
||||
}
|
||||
|
||||
std::wstring format_internal(const wchar_t* fmtstr, ...)
|
||||
std::wstring wformat_internal(const wchar_t* fmtstr, ...)
|
||||
{
|
||||
va_list lst;
|
||||
va_start(lst, fmtstr);
|
||||
|
Loading…
Reference in New Issue
Block a user