Skip to content

Commit cd789a2

Browse files
committed
Remove pessimizing std::move.
1 parent 349df77 commit cd789a2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/emc/usr_intf/emcrsh.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3302,7 +3302,7 @@ static int parseCommand(connectionRecType &ctx, std::string &line)
33023302
// Save the rest of the string as possible filename
33033303
ctx.third = line.substr(lft);
33043304
}
3305-
ctx.toks.push_back(std::move(line.substr(lft, rgt - lft)));
3305+
ctx.toks.push_back(line.substr(lft, rgt - lft));
33063306
pos = rgt;
33073307
}
33083308

0 commit comments

Comments
 (0)