From cfdf53903dbfb6e9919ea9ab946d45670ac48217 Mon Sep 17 00:00:00 2001 From: Aleksey Loginov Date: Fri, 8 Mar 2024 20:30:37 +0300 Subject: [PATCH] Fix timeout type --- src/rpp/rpp/operators/timeout.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rpp/rpp/operators/timeout.hpp b/src/rpp/rpp/operators/timeout.hpp index 93e54b2bd..da63b4e70 100644 --- a/src/rpp/rpp/operators/timeout.hpp +++ b/src/rpp/rpp/operators/timeout.hpp @@ -178,7 +178,7 @@ namespace rpp::operators::details template auto lift_with_disposable_strategy(Observer&& observer) const { - return timeout_t, TScheduler>{period, rpp::source::error>(std::make_exception_ptr(rpp::utils::timeout_reached{"Timeout reached"})), scheduler} + return timeout_t, TScheduler>{period, rpp::source::error>(std::make_exception_ptr(rpp::utils::timeout_reached{"Timeout reached"})), scheduler} .template lift_with_disposable_strategy(std::forward(observer)); } };