sensors/zones: place in namespace and cleanup
Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: I527dbc8477a232945f696227a7b0b2adbee45175
diff --git a/sensors/manager.cpp b/sensors/manager.cpp
index 84f7435..95d2a6b 100644
--- a/sensors/manager.cpp
+++ b/sensors/manager.cpp
@@ -19,6 +19,12 @@
#include "conf.hpp"
+#include <memory>
+#include <string>
+
+namespace pid_control
+{
+
void SensorManager::addSensor(const std::string& type, const std::string& name,
std::unique_ptr<Sensor> sensor)
{
@@ -32,3 +38,5 @@
_sensorTypeList[type].push_back(name);
}
+
+} // namespace pid_control