We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d8a739 commit 5f0b315Copy full SHA for 5f0b315
Release/src/utilities/asyncrt_utils.cpp
@@ -284,7 +284,7 @@ utf16string __cdecl conversions::utf8_to_utf16(const std::string &s)
284
{
285
#if defined(CPPREST_STDLIB_UNICODE_CONVERSIONS)
286
std::wstring_convert<std::codecvt_utf8_utf16<utf16char>, utf16char> conversion;
287
- return conversion.from_bytes(src);
+ return conversion.from_bytes(s);
288
#else
289
utf16string dest;
290
// Save repeated heap allocations, use less than source string size assuming some
0 commit comments