Minor tweaking of constness

This commit is contained in:
Daniel Marjamäki 2023-06-15 19:41:47 +02:00
parent f934d6e5d0
commit b462d070bf
1 changed files with 1 additions and 1 deletions

View File

@ -2544,7 +2544,7 @@ struct ValueFlowAnalyzer : Analyzer {
} }
virtual Action isModified(const Token* tok) const { virtual Action isModified(const Token* tok) const {
Action read = Action::Read; const Action read = Action::Read;
const ValueFlow::Value* value = getValue(tok); const ValueFlow::Value* value = getValue(tok);
if (value) { if (value) {
// Moving a moved value won't change the moved value // Moving a moved value won't change the moved value