summaryrefslogtreecommitdiff
path: root/redfish-core/lib/thermal.hpp
diff options
context:
space:
mode:
authorEd Tanous <ed.tanous@intel.com>2019-06-28 01:04:09 +0300
committerEd Tanous <ed.tanous@intel.com>2019-06-28 01:07:49 +0300
commit85e1424f5466ebedb4a28b233355551e94260677 (patch)
tree2d8d834175480072828297a23c5dd381a76beea2 /redfish-core/lib/thermal.hpp
parent7e236ca3b4d0263181fc977f0ee68a7d947c7070 (diff)
downloadbmcweb-85e1424f5466ebedb4a28b233355551e94260677.tar.xz
Fix initialier_list issues
This is a warning that the clang analyser seems to pop up with. For whatever reason, GCC is just fine with it. Tested: Not yet tested. Change-Id: I5d665e23011806f51d1ef4c5b1e8b887bdb456eb Signed-off-by: Ed Tanous <ed.tanous@intel.com>
Diffstat (limited to 'redfish-core/lib/thermal.hpp')
-rw-r--r--redfish-core/lib/thermal.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/redfish-core/lib/thermal.hpp b/redfish-core/lib/thermal.hpp
index 56ffc5a11e..e39aa3e224 100644
--- a/redfish-core/lib/thermal.hpp
+++ b/redfish-core/lib/thermal.hpp
@@ -37,7 +37,7 @@ class Thermal : public Node
}
private:
- std::initializer_list<const char*> typeList = {
+ std::vector<const char*> typeList = {
"/xyz/openbmc_project/sensors/fan_tach",
"/xyz/openbmc_project/sensors/temperature",
"/xyz/openbmc_project/sensors/fan_pwm"};