Add typedef for Property name
Change-Id: I5bb95bc63d33144360bc0bd147cb772622a87cda
Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
diff --git a/selutility.cpp b/selutility.cpp
index f52d51e..b4675d1 100644
--- a/selutility.cpp
+++ b/selutility.cpp
@@ -27,7 +27,7 @@
const std::string& objPath,
ipmi::sensor::InvObjectIDMap::const_iterator iter)
{
- ipmi::sel::GetSELEntryResponse record {};
+ GetSELEntryResponse record {};
sdbusplus::bus::bus bus{ipmid_get_sd_bus_connection()};
auto service = ipmi::getService(bus, logEntryIntf, objPath);
@@ -46,7 +46,7 @@
elog<InternalFailure>();
}
- std::map<std::string, PropertyType> entryData;
+ std::map<PropertyName, PropertyType> entryData;
reply.read(entryData);
// Read Id from the log entry.