From 6c9ceb6a1d18ed0976adbf6ed8cba565f2589562 Mon Sep 17 00:00:00 2001 From: Robert Andrzejuk Date: Mon, 16 Jul 2018 16:58:55 +0200 Subject: [PATCH] Fix for compilation with MSVC permissive- 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. --- Release/include/cpprest/streams.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Release/include/cpprest/streams.h b/Release/include/cpprest/streams.h index 75deb8fc59..5a46c7f077 100644 --- a/Release/include/cpprest/streams.h +++ b/Release/include/cpprest/streams.h @@ -1747,7 +1747,7 @@ class type_parser parse(streams::streambuf buffer) { - return _parse_input,std::basic_string>(buffer, _accept_char, _extract_result); + return base::_parse_input,std::basic_string>(buffer, _accept_char, _extract_result); } private: