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/mainloop.cpp b/mainloop.cpp
index f99decb..09c148b 100644
--- a/mainloop.cpp
+++ b/mainloop.cpp
@@ -163,7 +163,7 @@
objectPath.append(1, '/');
objectPath.append(std::get<sensorLabel>(properties));
- ObjectInfo info(&_bus, std::move(objectPath), Object());
+ ObjectInfo info(&_bus, std::move(objectPath), InterfaceMap());
RetryIO retryIO(hwmonio::retries, hwmonio::delay);
if (_rmSensors.find(sensor.first) != _rmSensors.end())
{
@@ -375,7 +375,7 @@
{
int64_t value;
auto& objInfo = std::get<ObjectInfo>(i.second);
- auto& obj = std::get<Object>(objInfo);
+ auto& obj = std::get<InterfaceMap>(objInfo);
auto it = obj.find(InterfaceType::STATUS);
if (it != obj.end())