Permalink
Browse files

Fix small typo in basic_event

  • Loading branch information...
1 parent 51e6beb commit d7c1d9b727db54b7ca56863c461086c8773f9ec2 @Amanieu committed Apr 8, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 include/async++/task.h
View
@@ -142,7 +142,7 @@ template<typename Result> class basic_event {
// If the copy/move constructor of the result threw, save the exception.
// We could also return the exception to the caller, but this would
// cause race conditions.
- internal_task->cancel(std::current_exception());
+ internal_task->cancel_base(std::current_exception());
}
return true;
}

0 comments on commit d7c1d9b

Please sign in to comment.