From 198773f86aaae4a3dabf41e0e92f38ee8848aa60 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 27 Apr 2026 13:02:05 +0100 Subject: [PATCH] style: clang-tidy auto fixes (#3047) Fixes #3046. Please review and commit clang-tidy fixes. Co-authored-by: godexsoft <385326+godexsoft@users.noreply.github.com> --- tests/unit/web/dosguard/WhitelistHandlerTests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/web/dosguard/WhitelistHandlerTests.cpp b/tests/unit/web/dosguard/WhitelistHandlerTests.cpp index 928cb64e0..c3d3e8ed7 100644 --- a/tests/unit/web/dosguard/WhitelistHandlerTests.cpp +++ b/tests/unit/web/dosguard/WhitelistHandlerTests.cpp @@ -151,7 +151,7 @@ TEST_F(WhitelistTest, AddInvalidNetwork) TEST_F(WhitelistTest, IsWhiteListedWithInvalidIP) { - Whitelist whitelist; + Whitelist const whitelist; EXPECT_FALSE(whitelist.isWhiteListed("not-an-ip")); }