提交 06068182 编写于 作者: Q qiaolongfei

rm ste::move when return a unique_ptr in inference

上级 3a29821b
......@@ -141,7 +141,7 @@ std::unique_ptr<PaddlePredictor> PaddlePredictorImpl::Clone() {
return nullptr;
}
// fix manylinux compile error.
return std::move(cls);
return cls;
}
// TODO(panyx0718): Consider merge with Init()?
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册