diff options
author | Patrick Venture <venture@google.com> | 2018-10-21 08:37:18 -0700 |
---|---|---|
committer | Patrick Venture <venture@google.com> | 2018-10-29 09:08:13 -0700 |
commit | ac988990848100c1c44e50c235d65f0c671f77bf (patch) | |
tree | 46357d320ecf2fae8167b6f6510390e34655b837 /fru_area.hpp | |
parent | 0e3a1c4eb5af9b940c96d262da2af2465b189c66 (diff) | |
download | ipmi-fru-parser-ac988990848100c1c44e50c235d65f0c671f77bf.tar.gz ipmi-fru-parser-ac988990848100c1c44e50c235d65f0c671f77bf.zip |
IPMIFruArea: delete default constructor
Default constructor marked private, but should be deleted.
Change-Id: I324516c51bd5f59b68284d9adcbf117cd74115af
Signed-off-by: Patrick Venture <venture@google.com>
Diffstat (limited to 'fru_area.hpp')
-rw-r--r-- | fru_area.hpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fru_area.hpp b/fru_area.hpp index 7b10347..2605294 100644 --- a/fru_area.hpp +++ b/fru_area.hpp @@ -14,6 +14,8 @@ using std::uint8_t; class IPMIFruArea { public: + IPMIFruArea() = delete; + // constructor IPMIFruArea(const uint8_t fruid, const ipmi_fru_area_type type, bool bmc_fru = false); @@ -114,9 +116,6 @@ class IPMIFruArea // fru inventory dbus interface name std::string intf_name; - - // Default constructor disabled. - IPMIFruArea(); }; #endif |