"test/cpu_rnn_ops_test.cpp" did not exist on "adfa1a936b148242b22f7dc185b446554e53e6b9"
Commit 02f762cd authored by Paul's avatar Paul
Browse files

Use non-const ref

parent da728bcd
......@@ -24,7 +24,7 @@ struct instruction
instruction(literal l);
void replace(const operation& o);
void replace(operation o);
void recompute_shape();
......
......@@ -28,7 +28,7 @@ void instruction::replace(const shape& r)
}
}
void instruction::replace(const operation& o)
void instruction::replace(operation o)
{
op = std::move(o);
recompute_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