From e2540f2209b6a0132f4d1b130413bef9506567a6 Mon Sep 17 00:00:00 2001 From: Aleksey Loginov Date: Mon, 5 Dec 2022 09:21:55 +0300 Subject: [PATCH] Update publish_subject.hpp --- src/rpp/rpp/subjects/publish_subject.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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