Skip to content

Commit

Permalink
Adding decay to noncopyablefunctorwrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonBikineev committed Mar 2, 2016
1 parent cd97141 commit 2e23b2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Release/include/pplx/pplxtasks.h
Original file line number Diff line number Diff line change
Expand Up @@ -3842,7 +3842,7 @@ class task
typedef typename details::_NormalizeVoidToUnitType<_ContinuationReturnType>::_Type _NormalizedContinuationReturnType;

typename details::_Task_ptr<_ReturnType>::_Type _M_ancestorTaskImpl;
typename details::_CopyableFunctor<_Function>::_Type _M_function;
typename details::_CopyableFunctor<typename std::decay<_Function>::type >::_Type _M_function;

template <class _ForwardedFunction>
_ContinuationTaskHandle(const typename details::_Task_ptr<_ReturnType>::_Type & _AncestorImpl,
Expand Down

0 comments on commit 2e23b2a

Please sign in to comment.