diff options
author | Ed Tanous <ed@tanous.net> | 2024-03-27 23:34:40 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2024-04-01 20:09:41 +0300 |
commit | 9de65b34ec9f8e813dad70b351672b64c1f73cd5 (patch) | |
tree | 4b8c9b26e88a70ef9a56eeef4633d4ecba1d3091 /include | |
parent | 4da0490bc07a458ad3fc7d586c7eabf6053c572f (diff) | |
download | bmcweb-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 'include')
-rw-r--r-- | include/multipart_parser.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<char>(c | 0x20); } - inline bool isBoundaryChar(char c) const + bool isBoundaryChar(char c) const { return boundaryIndex[static_cast<unsigned char>(c)]; } |