From 207737695ae057973ad6c95d6a9c74be17fe5103 Mon Sep 17 00:00:00 2001 From: Mohammad Nejati Date: Tue, 15 Oct 2024 07:42:44 +0000 Subject: [PATCH] Remove `static` specifier from `clamp` functions Fixes #2939 --- include/boost/beast/core/detail/clamp.hpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/boost/beast/core/detail/clamp.hpp b/include/boost/beast/core/detail/clamp.hpp index 0ec2768c..5474fe44 100644 --- a/include/boost/beast/core/detail/clamp.hpp +++ b/include/boost/beast/core/detail/clamp.hpp @@ -19,7 +19,6 @@ namespace beast { namespace detail { template -static std::size_t clamp(UInt x) { @@ -29,7 +28,6 @@ clamp(UInt x) } template -static std::size_t clamp(UInt x, std::size_t limit) {