Skip to content

Commit ac89b1e

Browse files
committed
include vs config in FileSettings::hash
1 parent ded6cd0 commit ac89b1e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/filesettings.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,8 @@ struct CPPCHECKLIB FileSettings {
115115
hash = rotateLeft(hash, 1);
116116
hash ^= std::hash<std::string>{}(define);
117117
}
118+
119+
hash ^= std::hash<std::string>{}(cfg);
118120
}
119121

120122
std::string cfg;

0 commit comments

Comments
 (0)