Skip to content

Commit 05e474a

Browse files
Typename required by MSVC now too
1 parent 23f1c7c commit 05e474a

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

Release/include/cpprest/streams.h

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -884,10 +884,7 @@ namespace Concurrency { namespace streams
884884
if (ch == '\n')
885885
{
886886
return buffer.bumpc().then([](
887-
#ifndef _WIN32 // Required by GCC
888-
typename
889-
#endif
890-
concurrency::streams::char_traits<CharType>::int_type) { return false; });
887+
typename concurrency::streams::char_traits<CharType>::int_type) { return false; });
891888
}
892889
return pplx::task_from_result(false);
893890
};
@@ -896,10 +893,7 @@ namespace Concurrency { namespace streams
896893
{
897894
while ( buffer.in_avail() > 0 )
898895
{
899-
#ifndef _WIN32 // Required by GCC, because concurrency::streams::char_traits<CharType> is a dependent scope
900-
typename
901-
#endif
902-
concurrency::streams::char_traits<CharType>::int_type ch;
896+
typename concurrency::streams::char_traits<CharType>::int_type ch;
903897

904898
if (_locals->saw_CR)
905899
{

0 commit comments

Comments
 (0)