path: root/control
diff options
authorBrad Bishop <>2018-11-21 10:42:34 -0500
committerBrad Bishop <>2018-11-28 12:05:11 -0500
commitf0b020fb322c9cf1c245e6b0614e02014a3509c6 (patch)
tree87986a89888131352ea0e7f99a6a53cfbf37828e /control
parent4978e06c45cfe70f5ccfc6cdce92a35ae5546198 (diff)
control: manager: Avoid the need for fconcepts
Use of auto in a function parameter list is supported in c++17 but gcc8 requires enabling concepts TS support. We don't require a template anyway - just be explicit here and avoid the need for -fconcepts until such a time that other concepts TS features are required. Change-Id: Iec6205a2e4da41aeb5840dd9942778ba0f373842 Signed-off-by: Brad Bishop <>
Diffstat (limited to 'control')
1 files changed, 1 insertions, 1 deletions
diff --git a/control/manager.cpp b/control/manager.cpp
index bc6b18e..6994f91 100644
--- a/control/manager.cpp
+++ b/control/manager.cpp
@@ -45,7 +45,7 @@ constexpr auto FAN_CONTROL_READY_TARGET = "";
* @param[in] condition - The condition to check if true
* @return result - True if the condition is true
-bool checkCondition(sdbusplus::bus::bus& bus, const auto& c)
+bool checkCondition(sdbusplus::bus::bus& bus, const Condition& c)
auto& type = std::get<conditionTypePos>(c);
auto& properties = std::get<conditionPropertyListPos>(c);
OpenPOWER on IntegriCloud