summaryrefslogtreecommitdiffstats
path: root/fru_area.hpp
diff options
context:
space:
mode:
authorPatrick Venture <venture@google.com>2018-10-21 13:11:08 -0700
committerPatrick Venture <venture@google.com>2018-10-30 08:28:31 -0700
commit1d00178a1ec507ccd1e0f957cfd992721448891d (patch)
tree68107eeb0cd1bb9b2a084699ee99ab21fd9fd934 /fru_area.hpp
parentf0f1ab9f94c58cdddae3c5036c1cbc6a95a7016d (diff)
downloadipmi-fru-parser-1d00178a1ec507ccd1e0f957cfd992721448891d.tar.gz
ipmi-fru-parser-1d00178a1ec507ccd1e0f957cfd992721448891d.zip
IPMIFruArea: use default destructor
Use default destructor now that there isn't a raw pointer. Change-Id: I3b28a99ca27a9e5dd15de9809e882cab02eedf75 Signed-off-by: Patrick Venture <venture@google.com>
Diffstat (limited to 'fru_area.hpp')
-rw-r--r--fru_area.hpp4
1 files changed, 1 insertions, 3 deletions
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