clang-tidy: Enable modernize-use-override check
This check adds override (introduced in C++11) to overridden
virtual functions and removes virtual from those functions as it
is not required.
Change-Id: I156fc5796ed1cf451491e446c211172f62316ecc
Signed-off-by: Pavithra Barithaya <pavithrabarithaya07@gmail.com>
diff --git a/scheduled_host_transition.hpp b/scheduled_host_transition.hpp
index 530031f..5582bf6 100644
--- a/scheduled_host_transition.hpp
+++ b/scheduled_host_transition.hpp
@@ -45,7 +45,7 @@
this->emit_object_added();
}
- ~ScheduledHostTransition();
+ ~ScheduledHostTransition() override;
/**
* @brief Handle with scheduled time