diff --git a/libs/main/thread/pitimer.cpp b/libs/main/thread/pitimer.cpp index c4cabed7..58cd12ee 100644 --- a/libs/main/thread/pitimer.cpp +++ b/libs/main/thread/pitimer.cpp @@ -204,8 +204,8 @@ public: virtual ~_PITimerImp_RT(); protected: private: - virtual bool startTimer(double interval_ms); - virtual bool stopTimer(bool wait); + bool startTimer(double interval_ms) override; + bool stopTimer() override; int ti; _PITimerImp_RT_Private_ * priv; @@ -399,7 +399,7 @@ _PITimerImp_RT::_PITimerImp_RT() { _PITimerImp_RT::~_PITimerImp_RT() { - stop(true); + stop(); delete priv; } @@ -432,7 +432,7 @@ bool _PITimerImp_RT::startTimer(double interval_ms) { } -bool _PITimerImp_RT::stopTimer(bool wait) { +bool _PITimerImp_RT::stopTimer() { if (ti < 0) return true; timer_delete(priv->tt); ti = -1;