Skip to content

Commit

Permalink
Try using to bring the base class's functions into scope
Browse files Browse the repository at this point in the history
  • Loading branch information
sonndinh committed Nov 21, 2024
1 parent bb2a27e commit ef42200
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions ACE/ace/Reactor.h
Original file line number Diff line number Diff line change
Expand Up @@ -571,14 +571,7 @@ class ACE_Export ACE_Reactor : public ACE_Reactor_Timer_Interface
const ACE_Time_Value &interval =
ACE_Time_Value::zero);

template<class Rep1, class Period1, class Rep2 = int, class Period2 = std::ratio<1>>
long schedule_timer (ACE_Event_Handler *event_handler,
const void *arg,
const std::chrono::duration<Rep1, Period1>& delay,
const std::chrono::duration<Rep2, Period2>& interval = std::chrono::duration<Rep2, Period2>::zero ())
{
return ACE_Reactor_Timer_Interface::schedule_timer(event_handler, arg, delay, interval);
}
using ACE_Reactor_Timer_Interface::schedule_timer;

/**
* Reset recurring timer interval.
Expand All @@ -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<class Rep, class Period>
int reset_timer_interval (long timer_id,
const std::chrono::duration<Rep, Period>& interval)
{
return ACE_Reactor_Timer_Interface::reset_timer_interval(timer_id, interval);
}
using ACE_Reactor_Timer_Interface::reset_timer_interval;

/**
* Cancel timer.
Expand Down

0 comments on commit ef42200

Please sign in to comment.