Skip to content

Commit 18f527b

Browse files
author
chengduo
authored
Merge pull request #10586 from jacquesqiao/fix-compile
Fix compile on mac
2 parents 046405e + 3c2a610 commit 18f527b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

paddle/fluid/framework/details/computation_op_handle.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ struct ComputationOpHandle : public OpHandleBase {
3636
protected:
3737
void RunImpl() override;
3838

39-
virtual bool NeedWait(VarHandleBase *in_var);
39+
bool NeedWait(VarHandleBase *in_var) override;
4040

4141
private:
4242
std::unique_ptr<OperatorBase> op_;

paddle/fluid/framework/details/fetch_op_handle.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ struct FetchOpHandle : public OpHandleBase {
4242
protected:
4343
void RunImpl() override;
4444

45-
virtual void WaitInputVarGenerated(const platform::Place &place);
45+
void WaitInputVarGenerated(const platform::Place &place) override;
4646

4747
private:
4848
FeedFetchList *data_;

0 commit comments

Comments
 (0)