mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 09:31:45 +00:00
Apply modernize-use-override
This commit is contained in:
committed by
Dennis Klein
parent
ad824b4de1
commit
153dcfab94
@@ -72,7 +72,7 @@ class TestDevice : public FairMQDevice
|
||||
TestDevice& operator=(const TestDevice&) = delete;
|
||||
TestDevice& operator=(TestDevice&&) = delete;
|
||||
|
||||
~TestDevice()
|
||||
~TestDevice() override
|
||||
{
|
||||
WaitForState(fair::mq::State::Running);
|
||||
ChangeState(fair::mq::Transition::Stop);
|
||||
|
@@ -49,7 +49,7 @@ class BadDevice : public FairMQDevice
|
||||
BadDevice& operator=(const BadDevice&) = delete;
|
||||
BadDevice& operator=(BadDevice&&) = delete;
|
||||
|
||||
~BadDevice()
|
||||
~BadDevice() override
|
||||
{
|
||||
ChangeState(fair::mq::Transition::ResetDevice);
|
||||
|
||||
|
@@ -26,7 +26,7 @@ class SlowDevice : public FairMQDevice
|
||||
SlowDevice() = default;
|
||||
|
||||
protected:
|
||||
void Init()
|
||||
void Init() override
|
||||
{
|
||||
this_thread::sleep_for(chrono::milliseconds(100));
|
||||
}
|
||||
|
Reference in New Issue
Block a user