Skip to content

Commit

Permalink
Update publish_subject.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
victimsnino authored Dec 5, 2022
1 parent 04ddbd3 commit e2540f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rpp/rpp/subjects/publish_subject.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ template<rpp::constraint::decayed_type T>
class publish_subject final : public details::base_subject<T, details::publish_strategy<T>>{
public:
publish_subject(const composite_subscription& sub)
: details::base_subject<T, details::behavior_strategy<T>>{sub} {}
: details::base_subject<T, details::publish_strategy<T>>{sub} {}

publish_subject(composite_subscription&& sub = composite_subscription{})
: details::base_subject<T, details::behavior_strategy<T>>{std::move(sub)} {}
: details::base_subject<T, details::publish_strategy<T>>{std::move(sub)} {}
};
} // namespace rpp::subjects

0 comments on commit e2540f2

Please sign in to comment.