From c451a94572387492fc10663253cd8b2c3e4b5a5f Mon Sep 17 00:00:00 2001 From: Pawel Raasz Date: Mon, 13 Nov 2023 07:44:54 +0100 Subject: [PATCH] Fix compile warning regarding ABI changes (#20990) and using std::true_type/false_type --- .../intel_gna/src/transformations/pwl_approximation.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/plugins/intel_gna/src/transformations/pwl_approximation.hpp b/src/plugins/intel_gna/src/transformations/pwl_approximation.hpp index a25974b35d17fe..b8fb9b5f58f05e 100644 --- a/src/plugins/intel_gna/src/transformations/pwl_approximation.hpp +++ b/src/plugins/intel_gna/src/transformations/pwl_approximation.hpp @@ -261,21 +261,21 @@ double lower_bound() { } template -double lower_bound(std::true_type, double exponent) { +double lower_bound(double exponent, std::true_type) { return Function::lower_bound(exponent); } template -double lower_bound(std::false_type, double exponent) { +double lower_bound(double exponent, std::false_type) { throw std::runtime_error("Not supported"); } template double lower_bound(double exponent) { return lower_bound( + exponent, std::integral_constant < bool, - std::is_same::value || std::is_same::value > (), - exponent); + std::is_same::value || std::is_same::value > ()); } template