From f0b020fb322c9cf1c245e6b0614e02014a3509c6 Mon Sep 17 00:00:00 2001 From: Brad Bishop Date: Wed, 21 Nov 2018 10:42:34 -0500 Subject: 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 --- control/manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = "obmc-fan-control-ready@0.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(c); auto& properties = std::get(c); -- cgit v1.2.1