File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
tests/functional/http/client Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -879,7 +879,11 @@ namespace Concurrency { namespace streams
879
879
if (ch == concurrency::streams::char_traits<CharType>::eof ()) return pplx::task_from_result (false );
880
880
if (ch == ' \n ' )
881
881
{
882
- return buffer.bumpc ().then ([](typename concurrency::streams::char_traits<CharType>::int_type) { return false ; });
882
+ return buffer.bumpc ().then ([](
883
+ #ifndef _MS_WINDOWS // Required by GCC
884
+ typename
885
+ #endif
886
+ concurrency::streams::char_traits<CharType>::int_type) { return false ; });
883
887
}
884
888
885
889
return pplx::task_from_result (false );
Original file line number Diff line number Diff line change @@ -258,6 +258,10 @@ class basic_throws_buffer : public streams::details::streambuf_state_manager<Cha
258
258
public:
259
259
basic_throws_buffer () : streams::details::streambuf_state_manager<CharType>(std::ios_base::out) {}
260
260
261
+ typedef typename streams::details::basic_streambuf<CharType>::int_type int_type;
262
+ typedef typename streams::details::basic_streambuf<CharType>::pos_type pos_type;
263
+ typedef typename streams::details::basic_streambuf<CharType>::off_type off_type;
264
+
261
265
bool can_seek () const override { return true ; }
262
266
bool has_size () const override { return false ; }
263
267
size_t buffer_size (std::ios_base::openmode) const override { return 0 ; }
@@ -294,7 +298,7 @@ template<typename CharType>
294
298
class close_throws_buffer : public streams ::streambuf<CharType>
295
299
{
296
300
public:
297
- close_throws_buffer () : streambuf<CharType>(std::shared_ptr<basic_throws_buffer<CharType>>(new basic_throws_buffer<CharType>())) {}
301
+ close_throws_buffer () : streams:: streambuf<CharType>(std::shared_ptr<basic_throws_buffer<CharType>>(new basic_throws_buffer<CharType>())) {}
298
302
};
299
303
300
304
// Tests if an exception occurs and close throws an exception that the close
You can’t perform that action at this time.
0 commit comments