rename Object type to InterfaceMap
Rename the Object type to InterfaceMap to give it a less opaque name.
The word object is somewhat overloaded.
Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: Ie1862450c15c8a8cecf7fcbec3552608d6a20cce
diff --git a/sensor.cpp b/sensor.cpp
index 89f8330..e6e8413 100644
--- a/sensor.cpp
+++ b/sensor.cpp
@@ -131,7 +131,7 @@
// Get the initial value for the value interface.
auto& bus = *std::get<sdbusplus::bus::bus*>(info);
- auto& obj = std::get<Object>(info);
+ auto& obj = std::get<InterfaceMap>(info);
auto& objPath = std::get<std::string>(info);
SensorValueType val = 0;
@@ -193,7 +193,7 @@
std::shared_ptr<StatusObject> iface = nullptr;
auto& objPath = std::get<std::string>(info);
- auto& obj = std::get<Object>(info);
+ auto& obj = std::get<InterfaceMap>(info);
// Check if fault sysfs file exists
std::string faultName = _sensor.first;