summaryrefslogtreecommitdiff
path: root/Rx/v2/src/rxcpp/operators/rx-take.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'Rx/v2/src/rxcpp/operators/rx-take.hpp')
-rw-r--r--Rx/v2/src/rxcpp/operators/rx-take.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rx/v2/src/rxcpp/operators/rx-take.hpp b/Rx/v2/src/rxcpp/operators/rx-take.hpp
index 054c136..1e4da4d 100644
--- a/Rx/v2/src/rxcpp/operators/rx-take.hpp
+++ b/Rx/v2/src/rxcpp/operators/rx-take.hpp
@@ -112,7 +112,7 @@ struct take : public operator_base<T>
}
},
// on_error
- [state](std::exception_ptr e) {
+ [state](rxu::error_ptr e) {
state->mode_value = mode::errored;
state->out.on_error(e);
},