diff --git a/paddle/contrib/inference/paddle_inference_api_impl.cc b/paddle/contrib/inference/paddle_inference_api_impl.cc index e7a0b341dda1ca8d2ccfc0d6c12a7ac3d4c691d5..349bd3b40368956dd9656ce7f062525f2612e5c1 100644 --- a/paddle/contrib/inference/paddle_inference_api_impl.cc +++ b/paddle/contrib/inference/paddle_inference_api_impl.cc @@ -141,7 +141,7 @@ std::unique_ptr PaddlePredictorImpl::Clone() { return nullptr; } // fix manylinux compile error. - return std::move(cls); + return cls; } // TODO(panyx0718): Consider merge with Init()?