We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0ecf5a0 + 3b6231e commit 4ba746cCopy full SHA for 4ba746c
Release/include/cpprest/streams.h
@@ -673,7 +673,7 @@ namespace Concurrency { namespace streams
673
if ( !_verify_and_return_task(details::_in_stream_msg, result) ) return result;
674
675
auto copy = std::make_shared<T>();
676
- return helper()->m_buffer.getn((CharType*)copy.get(), sizeof(T)).then([copy](pplx::task<size_t> op) -> T
+ return helper()->m_buffer.getn((CharType*)copy.get(), sizeof(T)).then([copy](pplx::task<size_t>) -> T
677
{
678
return std::move(*copy);
679
});
0 commit comments