Skip to content

Commit 8562714

Browse files
committed
valueflow: avoid unnecessary copy in valueFlowSymbolicOperators() [skip ci]
1 parent f44d477 commit 8562714

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/valueflow.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3582,7 +3582,7 @@ static void valueFlowSymbolicOperators(const SymbolDatabase& symboldatabase, con
35823582
continue;
35833583

35843584
ValueFlow::Value v = makeSymbolic(arg);
3585-
v.errorPath = c.errorPath;
3585+
v.errorPath = std::move(c.errorPath);
35863586
v.errorPath.emplace_back(tok, "Passed to " + tok->str());
35873587
if (c.intvalue == 0)
35883588
v.setImpossible();

0 commit comments

Comments
 (0)