From 1ca5b4feae8577c6648523cfa2673328795cb2e7 Mon Sep 17 00:00:00 2001 From: firewave Date: Mon, 18 Sep 2023 09:31:43 +0200 Subject: [PATCH] TokenList: made `mSettings` a const pointer --- lib/tokenlist.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tokenlist.h b/lib/tokenlist.h index a080cc72e817..8056b3bd261a 100644 --- a/lib/tokenlist.h +++ b/lib/tokenlist.h @@ -201,7 +201,7 @@ class CPPCHECKLIB TokenList { std::vector mOrigFiles; /** settings */ - const Settings* mSettings{}; + const Settings* const mSettings{}; /** File is known to be C/C++ code */ bool mIsC{};