SensorSet: add underscore prefix to members
Add underscore prefix to members for SensorSet object.
Change-Id: Ibd6d5f2d18f3a730d847d09ffead3b752ef7dd4c
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/sensorset.cpp b/sensorset.cpp
index 268ef3d..f326e88 100644
--- a/sensorset.cpp
+++ b/sensorset.cpp
@@ -47,7 +47,7 @@
continue;
}
- container[make_pair(match[1], match[2])].emplace(match[3]);
+ _container[make_pair(match[1], match[2])].emplace(match[3]);
}
}
diff --git a/sensorset.hpp b/sensorset.hpp
index 8ad0d5a..7f6f3f9 100644
--- a/sensorset.hpp
+++ b/sensorset.hpp
@@ -48,7 +48,7 @@
*/
container_t::const_iterator begin()
{
- return const_cast<const container_t&>(container).begin();
+ return const_cast<const container_t&>(_container).begin();
}
/**
@@ -58,7 +58,7 @@
*/
container_t::const_iterator end()
{
- return const_cast<const container_t&>(container).end();
+ return const_cast<const container_t&>(_container).end();
}
private:
@@ -68,7 +68,7 @@
* key = pair("temp", "1")
* value = "input"
*/
- container_t container;
+ container_t _container;
};
// vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4