pid/builder: make zonePids const
Detected with static analyzer tool.
Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: If5bd0bfce6138fe486a62073e2c471f08ae79cc6
diff --git a/pid/builder.hpp b/pid/builder.hpp
index e500503..2a83f3f 100644
--- a/pid/builder.hpp
+++ b/pid/builder.hpp
@@ -8,6 +8,6 @@
#include <unordered_map>
std::unordered_map<int64_t, std::unique_ptr<PIDZone>>
- buildZones(std::map<int64_t, conf::PIDConf>& zonePids,
+ buildZones(const std::map<int64_t, conf::PIDConf>& zonePids,
std::map<int64_t, struct conf::ZoneConfig>& zoneConfigs,
SensorManager& mgr, sdbusplus::bus::bus& modeControlBus);