summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--indra/llcommon/lleventfilter.h10
-rw-r--r--indra/llcommon/tests/lleventfilter_test.cpp10
2 files changed, 10 insertions, 10 deletions
diff --git a/indra/llcommon/lleventfilter.h b/indra/llcommon/lleventfilter.h
index ccbbc8bd25..ff8fc9bc7f 100644
--- a/indra/llcommon/lleventfilter.h
+++ b/indra/llcommon/lleventfilter.h
@@ -336,11 +336,11 @@ public:
LLEventThrottle(LLEventPump& source, F32 interval);
private:
- virtual void alarmActionAfter(F32 interval, const LLEventTimeoutBase::Action& action) override;
- virtual bool alarmRunning() const override;
- virtual void alarmCancel() override;
- virtual void timerSet(F32 interval) override;
- virtual F32 timerGetRemaining() const override;
+ virtual void alarmActionAfter(F32 interval, const LLEventTimeoutBase::Action& action) /*override*/;
+ virtual bool alarmRunning() const /*override*/;
+ virtual void alarmCancel() /*override*/;
+ virtual void timerSet(F32 interval) /*override*/;
+ virtual F32 timerGetRemaining() const /*override*/;
// use this to arrange a deferred flush() call
LLEventTimeout mAlarm;
diff --git a/indra/llcommon/tests/lleventfilter_test.cpp b/indra/llcommon/tests/lleventfilter_test.cpp
index 712864bf63..eb98b12ef5 100644
--- a/indra/llcommon/tests/lleventfilter_test.cpp
+++ b/indra/llcommon/tests/lleventfilter_test.cpp
@@ -88,29 +88,29 @@ public:
{}
/*----- implementation of LLEventThrottleBase timing functionality -----*/
- virtual void alarmActionAfter(F32 interval, const LLEventTimeoutBase::Action& action) override
+ virtual void alarmActionAfter(F32 interval, const LLEventTimeoutBase::Action& action) /*override*/
{
mAlarmRemaining = interval;
mAlarmAction = action;
}
- virtual bool alarmRunning() const override
+ virtual bool alarmRunning() const /*override*/
{
// decrementing to exactly 0 should mean the alarm fires
return mAlarmRemaining > 0;
}
- virtual void alarmCancel() override
+ virtual void alarmCancel() /*override*/
{
mAlarmRemaining = -1;
}
- virtual void timerSet(F32 interval) override
+ virtual void timerSet(F32 interval) /*override*/
{
mTimerRemaining = interval;
}
- virtual F32 timerGetRemaining() const override
+ virtual F32 timerGetRemaining() const /*override*/
{
// LLTimer.getRemainingTimeF32() never returns negative; 0.0 means expired
return (mTimerRemaining > 0.0)? mTimerRemaining : 0.0;