Updates from latest cppcheck
Signed-off-by: Zane Shelley <zshelle@us.ibm.com>
Change-Id: Ia9dd43ce762f613e35d07f3028a918bba6ac36ce
diff --git a/src/register/hei_scom_register.hpp b/src/register/hei_scom_register.hpp
index 040bd4f..da0eee9 100644
--- a/src/register/hei_scom_register.hpp
+++ b/src/register/hei_scom_register.hpp
@@ -41,19 +41,19 @@
public: // Accessor functions
/** Function overloaded from parent HardwareRegister class. */
- RegisterType_t getType() const
+ RegisterType_t getType() const override
{
return REG_TYPE_SCOM;
}
/** Function overloaded from parent HardwareRegister class. */
- RegisterAddress_t getAddress() const
+ RegisterAddress_t getAddress() const override
{
return static_cast<RegisterAddress_t>(iv_address);
}
/** Function overloaded from parent HardwareRegister class. */
- size_t getSize() const
+ size_t getSize() const override
{
return 8;
}
@@ -106,19 +106,19 @@
public: // Accessor functions
/** Function overloaded from parent HardwareRegister class. */
- RegisterType_t getType() const
+ RegisterType_t getType() const override
{
return REG_TYPE_ID_SCOM;
}
/** Function overloaded from parent HardwareRegister class. */
- RegisterAddress_t getAddress() const
+ RegisterAddress_t getAddress() const override
{
return static_cast<RegisterAddress_t>(iv_address);
}
/** Function overloaded from parent HardwareRegister class. */
- size_t getSize() const
+ size_t getSize() const override
{
return 8; // See note in class documentation.
}