Skip to content

Commit 8144234

Browse files
robert-andrzejukras0219-msft
authored andcommitted
Fix for compilation with MSVC permissive- (#809)
Related Visual Studio issue: https://developercommunity.visualstudio.com/content/problem/238445/template-class-cant-access-protected-member-when-c.html Problem is with code compiling with /permissive-, so the template functions are affected by this issue.
1 parent 68b0ddf commit 8144234

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Release/include/cpprest/streams.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1747,7 +1747,7 @@ class type_parser<CharType, std::enable_if_t<sizeof(CharType) == 1, std::basic_s
17471747

17481748
static pplx::task<std::wstring> parse(streams::streambuf<CharType> buffer)
17491749
{
1750-
return _parse_input<std::basic_string<char>,std::basic_string<wchar_t>>(buffer, _accept_char, _extract_result);
1750+
return base::_parse_input<std::basic_string<char>,std::basic_string<wchar_t>>(buffer, _accept_char, _extract_result);
17511751
}
17521752

17531753
private:

0 commit comments

Comments
 (0)