diff --git a/src/rpp/rpp/subjects/publish_subject.hpp b/src/rpp/rpp/subjects/publish_subject.hpp index b0649eed2..f55199ffc 100644 --- a/src/rpp/rpp/subjects/publish_subject.hpp +++ b/src/rpp/rpp/subjects/publish_subject.hpp @@ -78,9 +78,9 @@ template class publish_subject final : public details::base_subject>{ public: publish_subject(const composite_subscription& sub) - : details::base_subject>{sub} {} + : details::base_subject>{sub} {} publish_subject(composite_subscription&& sub = composite_subscription{}) - : details::base_subject>{std::move(sub)} {} + : details::base_subject>{std::move(sub)} {} }; } // namespace rpp::subjects