Skip to content

Commit

Permalink
cstrans-df-run: use std::move() suggested by Coverity
Browse files Browse the repository at this point in the history
Related: csutils#190
Closes: csutils#191
  • Loading branch information
kdudka committed Jul 3, 2024
1 parent 74db0ab commit e21d8ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cstrans-df-run.cc
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ void DockerFileTransformer::transformRunLine(std::string *pRunLine)
}

// return the result of a successful transformation
*pRunLine = newRunLine;
*pRunLine = std::move(newRunLine);
}

bool DockerFileTransformer::transform(std::istream &in, std::ostream &out)
Expand Down

0 comments on commit e21d8ce

Please sign in to comment.