remove IPMI_CC
Since IPMI_CC declared in api.h has been gradually deprecated,
this submission will use ipmi::cc in api.hpp instead.
Change-Id: If605247d9e2453b9b13d307f53da3b6143af0259
Signed-off-by: George Liu <liuxiwei@ieisystem.com>
diff --git a/src/storagecommands.cpp b/src/storagecommands.cpp
index 8ca7fd5..a72ffe8 100644
--- a/src/storagecommands.cpp
+++ b/src/storagecommands.cpp
@@ -253,7 +253,7 @@
auto deviceFind = deviceHashes.find(devId);
if (deviceFind == deviceHashes.end())
{
- return IPMI_CC_SENSOR_INVALID;
+ return ipmi::ccSensorInvalid;
}
if (writeTimer->isRunning())