diff --git a/paddle/fluid/framework/details/fetch_op_handle.h b/paddle/fluid/framework/details/fetch_op_handle.h index e696a7a9ce562e7f1b7fe6633623cb940810fbe1..e09bdd1d3338bb175c1ddae35b53f98197b68e9a 100644 --- a/paddle/fluid/framework/details/fetch_op_handle.h +++ b/paddle/fluid/framework/details/fetch_op_handle.h @@ -42,7 +42,7 @@ struct FetchOpHandle : public OpHandleBase { protected: void RunImpl() override; - virtual void WaitInputVarGenerated(const platform::Place &place); + void WaitInputVarGenerated(const platform::Place &place) override; private: FeedFetchList *data_;