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.cpp b/pid/thermalcontroller.cpp
index 1422bef..d7ea5ae 100644
--- a/pid/thermalcontroller.cpp
+++ b/pid/thermalcontroller.cpp
@@ -21,7 +21,7 @@
std::unique_ptr<PIDController> ThermalController::CreateThermalPid(
ZoneInterface* owner, const std::string& id,
- std::vector<std::string>& inputs, float setpoint, ec::pidinfo initial)
+ const std::vector<std::string>& inputs, float setpoint, ec::pidinfo initial)
{
// ThermalController currently only supports precisely one input.
if (inputs.size() != 1)