Skip to content

Commit d4cff07

Browse files
committed
fix inference build on mac
1 parent c6a5326 commit d4cff07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

paddle/contrib/inference/paddle_inference_api_impl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class PaddlePredictorImpl : public PaddlePredictor {
5454
~PaddlePredictorImpl() override{};
5555

5656
private:
57-
bool InitShared();
57+
bool InitShared() override;
5858
bool SetFeed(const std::vector<PaddleTensor> &input_datas,
5959
std::vector<paddle::framework::LoDTensor> *feeds);
6060
bool GetFetch(const std::vector<paddle::framework::LoDTensor> &fetchs,

0 commit comments

Comments
 (0)