Skip to content

Commit 5f0b315

Browse files
committed
Fix renamed argument under CPPREST_STDLIB_UNICODE_CONVERSIONS. Fixes microsoft#153.
1 parent 9d8a739 commit 5f0b315

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Release/src/utilities/asyncrt_utils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ utf16string __cdecl conversions::utf8_to_utf16(const std::string &s)
284284
{
285285
#if defined(CPPREST_STDLIB_UNICODE_CONVERSIONS)
286286
std::wstring_convert<std::codecvt_utf8_utf16<utf16char>, utf16char> conversion;
287-
return conversion.from_bytes(src);
287+
return conversion.from_bytes(s);
288288
#else
289289
utf16string dest;
290290
// Save repeated heap allocations, use less than source string size assuming some

0 commit comments

Comments
 (0)