File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -631,7 +631,7 @@ class http_response
631
631
pplx::task<http::http_response> content_ready () const
632
632
{
633
633
http_response resp = *this ;
634
- return pplx::create_task (_m_impl->_get_data_available ()).then ([resp](utility::size64_t ) { return resp; });
634
+ return pplx::create_task (_m_impl->_get_data_available ()).then ([resp](utility::size64_t ) mutable { return resp; });
635
635
}
636
636
637
637
std::shared_ptr<http::details::_http_response> _get_impl () const { return _m_impl; }
@@ -1166,7 +1166,7 @@ class http_request
1166
1166
pplx::task<http_request> content_ready () const
1167
1167
{
1168
1168
http_request req = *this ;
1169
- return pplx::create_task (_m_impl->_get_data_available ()).then ([req](utility::size64_t ) { return req; });
1169
+ return pplx::create_task (_m_impl->_get_data_available ()).then ([req](utility::size64_t ) mutable { return req; });
1170
1170
}
1171
1171
1172
1172
// / <summary>
You can’t perform that action at this time.
0 commit comments