diff --git a/src/cstrans-df-run.cc b/src/cstrans-df-run.cc index 4142e457..66b7c8d4 100644 --- a/src/cstrans-df-run.cc +++ b/src/cstrans-df-run.cc @@ -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)