Remove static specifier from clamp functions

Fixes #2939
This commit is contained in:
Mohammad Nejati
2024-10-15 07:42:44 +00:00
committed by Mohammad Nejati
parent 7ce0ebe47c
commit 207737695a

View File

@ -19,7 +19,6 @@ namespace beast {
namespace detail { namespace detail {
template<class UInt> template<class UInt>
static
std::size_t std::size_t
clamp(UInt x) clamp(UInt x)
{ {
@ -29,7 +28,6 @@ clamp(UInt x)
} }
template<class UInt> template<class UInt>
static
std::size_t std::size_t
clamp(UInt x, std::size_t limit) clamp(UInt x, std::size_t limit)
{ {