Skip to content

Commit fae3d8d

Browse files
authored
Merge pull request #11311 from JiayiFeng/a_small_fix
fix a small compile error on Mac
2 parents 145aaa4 + d745840 commit fae3d8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

paddle/fluid/framework/details/fuse_vars_op_handle.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ void FuseVarsOpHandle::RunImpl() {
4242
out_t->ShareDataWith(out_tensor->Slice(s, s + numel));
4343
s += numel;
4444
}
45-
this->RunAndRecordEvent([this] {});
45+
this->RunAndRecordEvent([] {});
4646
}
4747

4848
std::string FuseVarsOpHandle::Name() const { return "fuse vars"; }

0 commit comments

Comments
 (0)