cleanup: apply constness to read-only iterators
Apply const to read-only iterators to indicate intent more clearly.
Change-Id: Ic14304c69361da203d3d3a900180bd54346acc87
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/pid/thermalcontroller.hpp b/pid/thermalcontroller.hpp
index 85c3a2b..e38938f 100644
--- a/pid/thermalcontroller.hpp
+++ b/pid/thermalcontroller.hpp
@@ -16,10 +16,11 @@
public:
static std::unique_ptr<PIDController>
CreateThermalPid(ZoneInterface* owner, const std::string& id,
- std::vector<std::string>& inputs, float setpoint,
+ const std::vector<std::string>& inputs, float setpoint,
ec::pidinfo initial);
- ThermalController(const std::string& id, std::vector<std::string>& inputs,
+ ThermalController(const std::string& id,
+ const std::vector<std::string>& inputs,
ZoneInterface* owner) :
PIDController(id, owner),
_inputs(inputs)