rm ste::move when return a unique_ptr in inference

release/0.13.0
qiaolongfei 7 years ago
parent 3a29821bd5
commit 0606818291

@ -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()?

Loading…
Cancel
Save