Commit 522b1da2 authored by Shucai Xiao's avatar Shucai Xiao
Browse files

fix cppcheck error

parent cd5fd751
...@@ -665,7 +665,7 @@ struct cpu_argmax ...@@ -665,7 +665,7 @@ struct cpu_argmax
argument compute(context&, const shape& output_shape, std::vector<argument> args) const argument compute(context&, const shape& output_shape, std::vector<argument> args) const
{ {
return op.compute(output_shape, args); return op.compute(output_shape, std::move(args));
} }
}; };
...@@ -684,7 +684,7 @@ struct cpu_argmin ...@@ -684,7 +684,7 @@ struct cpu_argmin
argument compute(context&, const shape& output_shape, std::vector<argument> args) const argument compute(context&, const shape& output_shape, std::vector<argument> args) const
{ {
return op.compute(output_shape, args); return op.compute(output_shape, std::move(args));
} }
}; };
......
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