From af9840daf7e22715c3494594ada7ed43fae6306a Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 12 Mar 2019 11:54:51 +0100 Subject: [PATCH] util/Clamp: remove redundant `inline` keywords from `constexpr` functions --- src/util/Clamp.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/Clamp.hxx b/src/util/Clamp.hxx index d6aa5f015..e65a96a7d 100644 --- a/src/util/Clamp.hxx +++ b/src/util/Clamp.hxx @@ -37,7 +37,7 @@ * value is outside. */ template -static inline constexpr const T & +constexpr const T & Clamp(const T &value, const T &min, const T &max) { return gcc_unlikely(value < min)