summaryrefslogtreecommitdiff
path: root/src/util/Clamp.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2019-03-12 11:54:51 +0100
committerMax Kellermann <max@musicpd.org>2019-03-12 11:54:51 +0100
commitaf9840daf7e22715c3494594ada7ed43fae6306a (patch)
tree2efb2f3a4f10f6ba6c7198e3d2bba63de4838dac /src/util/Clamp.hxx
parenta67a9c99801741b36a824ea4d9768c3795b282b3 (diff)
util/Clamp: remove redundant `inline` keywords from `constexpr` functions
Diffstat (limited to 'src/util/Clamp.hxx')
-rw-r--r--src/util/Clamp.hxx2
1 files changed, 1 insertions, 1 deletions
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<typename T>
-static inline constexpr const T &
+constexpr const T &
Clamp(const T &value, const T &min, const T &max)
{
return gcc_unlikely(value < min)