Rename wchar_t overload of format_internal to wformat_internal

This commit is contained in:
Alexander Karatarakis 2016-09-29 19:25:07 -07:00
parent 8e3ee05230
commit a4ab4fd241
2 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -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);