Skip to content

Commit 4d81d6d

Browse files
committed
valueflow.cpp: avoid unnecessary copy in valueFlowSymbolicOperators()
1 parent eb4a12f commit 4d81d6d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/valueflow.cpp

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

36543654
ValueFlow::Value v = makeSymbolic(arg);
3655-
v.errorPath = c.errorPath;
3655+
v.errorPath = std::move(c.errorPath);
36563656
v.errorPath.emplace_back(tok, "Passed to " + tok->str());
36573657
if (c.intvalue == 0)
36583658
v.setImpossible();

0 commit comments

Comments
 (0)