summaryrefslogtreecommitdiff
path: root/http
diff options
context:
space:
mode:
authorEd Tanous <ed@tanous.net>2024-03-27 23:34:40 +0300
committerEd Tanous <ed@tanous.net>2024-04-01 20:09:41 +0300
commit9de65b34ec9f8e813dad70b351672b64c1f73cd5 (patch)
tree4b8c9b26e88a70ef9a56eeef4633d4ecba1d3091 /http
parent4da0490bc07a458ad3fc7d586c7eabf6053c572f (diff)
downloadbmcweb-9de65b34ec9f8e813dad70b351672b64c1f73cd5.tar.xz
Fix redundant inline operators
inline is not required on member methods. Clang-tidy has a check for this. Enable the check and fix the two bad usages. Tested: Code compiles. Change-Id: I3115b7c0c4005e1082e0005b818fbe6569511f49 Signed-off-by: Ed Tanous <ed@tanous.net>
Diffstat (limited to 'http')
-rw-r--r--http/utility.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/http/utility.hpp b/http/utility.hpp
index bf708915b6..47ddaf91b1 100644
--- a/http/utility.hpp
+++ b/http/utility.hpp
@@ -46,7 +46,7 @@ constexpr typename std::underlying_type<E>::type toUnderlying(E e) noexcept
return static_cast<typename std::underlying_type<E>::type>(e);
}
-constexpr inline uint64_t getParameterTag(std::string_view url)
+constexpr uint64_t getParameterTag(std::string_view url)
{
uint64_t tagValue = 0;
size_t urlSegmentIndex = std::string_view::npos;