From ef42200cbe3802b54c58af4b6820560598b3c61a Mon Sep 17 00:00:00 2001 From: Son Dinh Date: Thu, 21 Nov 2024 14:45:02 -0600 Subject: [PATCH] Try using to bring the base class's functions into scope --- ACE/ace/Reactor.h | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/ACE/ace/Reactor.h b/ACE/ace/Reactor.h index 7d4f6cdf6593b..ef61f2e680c55 100644 --- a/ACE/ace/Reactor.h +++ b/ACE/ace/Reactor.h @@ -571,14 +571,7 @@ class ACE_Export ACE_Reactor : public ACE_Reactor_Timer_Interface const ACE_Time_Value &interval = ACE_Time_Value::zero); - template> - long schedule_timer (ACE_Event_Handler *event_handler, - const void *arg, - const std::chrono::duration& delay, - const std::chrono::duration& interval = std::chrono::duration::zero ()) - { - return ACE_Reactor_Timer_Interface::schedule_timer(event_handler, arg, delay, interval); - } + using ACE_Reactor_Timer_Interface::schedule_timer; /** * Reset recurring timer interval. @@ -594,12 +587,7 @@ class ACE_Export ACE_Reactor : public ACE_Reactor_Timer_Interface virtual int reset_timer_interval (long timer_id, const ACE_Time_Value &interval); - template - int reset_timer_interval (long timer_id, - const std::chrono::duration& interval) - { - return ACE_Reactor_Timer_Interface::reset_timer_interval(timer_id, interval); - } + using ACE_Reactor_Timer_Interface::reset_timer_interval; /** * Cancel timer.