diff --git a/paddle/contrib/inference/paddle_inference_api_impl.h b/paddle/contrib/inference/paddle_inference_api_impl.h index 9a333a872c14c8134409373580d332a41ae81f7f..a0c7ff030735fc1c6b9d717f8f9e4addc7e0c6b0 100644 --- a/paddle/contrib/inference/paddle_inference_api_impl.h +++ b/paddle/contrib/inference/paddle_inference_api_impl.h @@ -54,7 +54,7 @@ class PaddlePredictorImpl : public PaddlePredictor { ~PaddlePredictorImpl() override{}; private: - bool InitShared(); + bool InitShared() override; bool SetFeed(const std::vector &input_datas, std::vector *feeds); bool GetFetch(const std::vector &fetchs,