Commit a489c88c authored by wsttiger's avatar wsttiger
Browse files

Added a std::move() for cppcheck

parent e826b358
...@@ -11,7 +11,7 @@ struct concat ...@@ -11,7 +11,7 @@ struct concat
std::string name() const { return "eliminate_concat::concat"; } std::string name() const { return "eliminate_concat::concat"; }
migraph::shape compute_shape(std::vector<migraph::shape> inputs) const migraph::shape compute_shape(std::vector<migraph::shape> inputs) const
{ {
return op.compute_shape(inputs); return op.compute_shape(std::move(inputs));
} }
migraph::argument compute(migraph::context&, migraph::argument compute(migraph::context&,
const migraph::shape& output_shape, const migraph::shape& output_shape,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment