From 9de65b34ec9f8e813dad70b351672b64c1f73cd5 Mon Sep 17 00:00:00 2001 From: Ed Tanous Date: Wed, 27 Mar 2024 13:34:40 -0700 Subject: 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 --- http/utility.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'http') 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::type toUnderlying(E e) noexcept return static_cast::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; -- cgit v1.2.3