Skip to content

Commit cf74196

Browse files
committed
vf_symbolicoperators.cpp: avoid unnecessary copy in analyzeSymbolicOperators()
1 parent 080626f commit cf74196

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/vf_symbolicoperators.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ namespace ValueFlow
8686
continue;
8787

8888
Value v = makeSymbolic(arg);
89-
v.errorPath = c.errorPath;
89+
v.errorPath = std::move(c.errorPath);
9090
v.errorPath.emplace_back(tok, "Passed to " + tok->str());
9191
if (c.intvalue == 0)
9292
v.setImpossible();

0 commit comments

Comments
 (0)