summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fru_area.cpp7
-rw-r--r--fru_area.hpp4
2 files changed, 1 insertions, 10 deletions
diff --git a/fru_area.cpp b/fru_area.cpp
index 45d4008..389166c 100644
--- a/fru_area.cpp
+++ b/fru_area.cpp
@@ -63,10 +63,3 @@ void IPMIFruArea::updateDbusPaths(const char* bus, const char* path,
objectPath = path;
interfaceName = intf;
}
-
-//-------------------
-// Destructor
-//-------------------
-IPMIFruArea::~IPMIFruArea()
-{
-}
diff --git a/fru_area.hpp b/fru_area.hpp
index 5294be2..abfa083 100644
--- a/fru_area.hpp
+++ b/fru_area.hpp
@@ -15,14 +15,12 @@ class IPMIFruArea
{
public:
IPMIFruArea() = delete;
+ ~IPMIFruArea() = default;
// constructor
IPMIFruArea(const uint8_t fruID, const ipmi_fru_area_type type,
bool bmcOnlyFru = false);
- // Destructor
- virtual ~IPMIFruArea();
-
// Sets the present bit
inline void setPresent(const bool present)
{
OpenPOWER on IntegriCloud