Skip to content

Commit

Permalink
Merge branch 'thomasschaub-feature/remove-unused-var' into development
Browse files Browse the repository at this point in the history
  • Loading branch information
kavyako committed Nov 17, 2015
2 parents 0ecf5a0 + 3b6231e commit 4ba746c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Release/include/cpprest/streams.h
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@ namespace Concurrency { namespace streams
if ( !_verify_and_return_task(details::_in_stream_msg, result) ) return result;

auto copy = std::make_shared<T>();
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
{
return std::move(*copy);
});
Expand Down

0 comments on commit 4ba746c

Please sign in to comment.