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/thresholds.hpp b/thresholds.hpp
index 188dc76..4d2fcff 100644
--- a/thresholds.hpp
+++ b/thresholds.hpp
@@ -86,7 +86,7 @@
int64_t value, ObjectInfo& info, int64_t scale)
{
auto& objPath = std::get<std::string>(info);
- auto& obj = std::get<Object>(info);
+ auto& obj = std::get<InterfaceMap>(info);
std::shared_ptr<T> iface;
auto tLo = env::getEnv(Thresholds<T>::envLo, sensorType, sensorID);