chore: Enable more clang-tidy checks (#3054)

This commit is contained in:
Alex Kremer
2026-05-01 15:31:45 +01:00
committed by GitHub
parent d6bae6c12b
commit 51244feb4a
239 changed files with 1150 additions and 733 deletions

View File

@@ -29,7 +29,7 @@ public:
* @param ip The ip addr of the client
* @return true if authorized; false otherwise
*/
virtual bool
[[nodiscard]] virtual bool
isAdmin(RequestHeader const& request, std::string_view ip) const = 0;
};
@@ -45,7 +45,7 @@ public:
* @param ip The ip addr of the client
* @return true if authorized; false otherwise
*/
bool
[[nodiscard]] bool
isAdmin(RequestHeader const&, std::string_view ip) const override;
};
@@ -76,7 +76,7 @@ public:
* @param request The request from a host
* @return true if the password from request matches admin password from config
*/
bool
[[nodiscard]] bool
isAdmin(RequestHeader const& request, std::string_view) const override;
};