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 --- include/multipart_parser.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/multipart_parser.hpp b/include/multipart_parser.hpp index 924ee8d5cb..9d55f3a6a6 100644 --- a/include/multipart_parser.hpp +++ b/include/multipart_parser.hpp @@ -239,7 +239,7 @@ class MultipartParser return static_cast(c | 0x20); } - inline bool isBoundaryChar(char c) const + bool isBoundaryChar(char c) const { return boundaryIndex[static_cast(c)]; } -- cgit v1.2.3