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/hypervisor_state_manager.hpp b/hypervisor_state_manager.hpp
index 88ea57c..ae43a3f 100644
--- a/hypervisor_state_manager.hpp
+++ b/hypervisor_state_manager.hpp
@@ -36,7 +36,7 @@
Hypervisor& operator=(const Hypervisor&) = delete;
Hypervisor(Hypervisor&&) = delete;
Hypervisor& operator=(Hypervisor&&) = delete;
- virtual ~Hypervisor() = default;
+ ~Hypervisor() override = default;
/** @brief Constructs Hypervisor State Manager
*