Skip to content

Commit

Permalink
Make rxu::error_ptr in on_error_notification not const
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenwdv committed May 16, 2024
1 parent 2eda2a9 commit 54de614
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Rx/v2/src/rxcpp/rx-notification.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ struct notification
void accept(const typename base::observer_type& o) && override{
o.on_error(ep);
}
const rxu::error_ptr ep;
rxu::error_ptr ep;
};

struct on_completed_notification : public base {
Expand Down Expand Up @@ -274,7 +274,7 @@ std::ostream& operator<< (std::ostream& out, const recorded<T>& r) {
out << "@" << r.time() << "-" << r.value();
return out;
}

}
namespace rxn=notifications;

Expand Down

0 comments on commit 54de614

Please sign in to comment.