Skip to content

Commit 0606818

Browse files
committed
rm ste::move when return a unique_ptr in inference
1 parent 3a29821 commit 0606818

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

paddle/contrib/inference/paddle_inference_api_impl.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ std::unique_ptr<PaddlePredictor> PaddlePredictorImpl::Clone() {
141141
return nullptr;
142142
}
143143
// fix manylinux compile error.
144-
return std::move(cls);
144+
return cls;
145145
}
146146

147147
// TODO(panyx0718): Consider merge with Init()?

0 commit comments

Comments
 (0)