IPMIFruArea: delete default constructor
Default constructor marked private, but should be deleted.
Change-Id: I324516c51bd5f59b68284d9adcbf117cd74115af
Signed-off-by: Patrick Venture <venture@google.com>
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 @@
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 @@
// fru inventory dbus interface name
std::string intf_name;
-
- // Default constructor disabled.
- IPMIFruArea();
};
#endif