Fix compilation issue
The commit fixes compilation error in case of non IBM systems.
Change-Id: I837934459b202e4346e23a891c2ad72bff870323
Signed-off-by: Sunny Srivastava <sunnsr25@in.ibm.com>
diff --git a/vpd-manager/src/manager.cpp b/vpd-manager/src/manager.cpp
index 7c90e71..fd63ffc 100644
--- a/vpd-manager/src/manager.cpp
+++ b/vpd-manager/src/manager.cpp
@@ -442,6 +442,18 @@
// TODO log appropriate PEL
}
}
+
+void Manager::processFailedEeproms()
+{
+ if (m_worker.get() != nullptr)
+ {
+ // TODO:
+ // - iterate through list of EEPROMs for which thread creation has
+ // failed
+ // - For each failed EEPROM, trigger VPD collection
+ m_worker->getFailedEepromPaths().clear();
+ }
+}
#endif
int Manager::updateKeyword(const types::Path i_vpdPath,
@@ -1078,16 +1090,4 @@
"VPD recollection failed with error: " + std::string(l_ex.what()));
}
}
-
-void Manager::processFailedEeproms()
-{
- if (m_worker.get() != nullptr)
- {
- // TODO:
- // - iterate through list of EEPROMs for which thread creation has
- // failed
- // - For each failed EEPROM, trigger VPD collection
- m_worker->getFailedEepromPaths().clear();
- }
-}
} // namespace vpd