added a pure virtual destructor to abstract Register class
Change-Id: I885b36372877b64ce02fcc679f1fd477d06c54ba
Signed-off-by: Zane Shelley <zshelle@us.ibm.com>
diff --git a/src/register/hei_hardware_register.cpp b/src/register/hei_hardware_register.cpp
index 58106bf..e007eca 100755
--- a/src/register/hei_hardware_register.cpp
+++ b/src/register/hei_hardware_register.cpp
@@ -183,11 +183,11 @@
#endif // __HEI_READ_ONLY
-#if 0
//------------------------------------------------------------------------------
bool HardwareRegister::operator == ( const HardwareRegister & i_rightRegister ) const
{
+#if 0
if( iv_scomAddress == i_rightRegister.GetAddress() )
{
return ( iv_chipType == i_rightRegister.getChipType() );
@@ -196,12 +196,14 @@
{
return false ;
}
-
+#endif
+ return false;
}
//-----------------------------------------------------------------------------
bool HardwareRegister::operator < ( const HardwareRegister & i_rightRegister ) const
{
+#if 0
if( iv_scomAddress == i_rightRegister.GetAddress() )
{
return ( iv_chipType < i_rightRegister.getChipType() );
@@ -210,9 +212,10 @@
{
return( iv_scomAddress < i_rightRegister.GetAddress() );
}
-
-
+#endif
+ return false;
}
+#if 0
//-----------------------------------------------------------------------------
bool HardwareRegister::operator >= ( const HardwareRegister & i_rightRegister ) const
{