Skip to content

Commit

Permalink
TokenList: made mSettings a const pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
firewave committed Sep 18, 2023
1 parent 5b223ec commit 1ca5b4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tokenlist.h
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ class CPPCHECKLIB TokenList {
std::vector<std::string> mOrigFiles;

/** settings */
const Settings* mSettings{};
const Settings* const mSettings{};

/** File is known to be C/C++ code */
bool mIsC{};
Expand Down

0 comments on commit 1ca5b4f

Please sign in to comment.