Skip to content

Commit 1e97436

Browse files
committed
Fix naming violation of private member variable.
1 parent f45c7cb commit 1e97436

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lib/suppressions.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ bool SuppressionList::Suppression::isFileNameMatch(const std::string &errorFileN
461461

462462
const bool isMatch = PathMatch::match(fileName, errorFileName);
463463

464-
if (mFileNameMatchCache.size() >= FileNameMatchCacheMaxEntries)
464+
if (mFileNameMatchCache.size() >= mFileNameMatchCacheMaxEntries)
465465
mFileNameMatchCache.clear();
466466

467467
mFileNameMatchCache.emplace(errorFileName, isMatch);

lib/suppressions.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ class CPPCHECKLIB SuppressionList {
172172
private:
173173
bool isFileNameMatch(const std::string &errorFileName) const;
174174

175-
static constexpr std::size_t FileNameMatchCacheMaxEntries = 256;
175+
static constexpr std::size_t mFileNameMatchCacheMaxEntries = 256;
176176
mutable std::map<std::string, bool> mFileNameMatchCache;
177177
};
178178

0 commit comments

Comments
 (0)