diff --git a/src/nfs/nfs_client_impl.cpp b/src/nfs/nfs_client_impl.cpp index 0fe5c4ce64..b09581f988 100644 --- a/src/nfs/nfs_client_impl.cpp +++ b/src/nfs/nfs_client_impl.cpp @@ -212,7 +212,7 @@ void nfs_client_impl::end_get_file_size(::dsn::error_code err, _copy_requests_low.push(std::move(copy_requests)); } - tasking::enqueue(LPC_NFS_COPY_FILE, nullptr, [=]() { continue_copy(); }, 0); + tasking::enqueue(LPC_NFS_COPY_FILE, nullptr, [this]() { continue_copy(); }, 0); } void nfs_client_impl::continue_copy()