From 0b7ad668ff83b618eeb234b33ba019b27184e544 Mon Sep 17 00:00:00 2001 From: Robert Nishihara Date: Sat, 7 Apr 2018 14:54:21 -0700 Subject: [PATCH] Fix unused lambda capture compilation error. (#1844) * Fix unused lambda capture compilation error. * Fix linting. --- src/ray/raylet/node_manager.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/ray/raylet/node_manager.cc b/src/ray/raylet/node_manager.cc index 2d388b5ba..722fc98b5 100644 --- a/src/ray/raylet/node_manager.cc +++ b/src/ray/raylet/node_manager.cc @@ -88,8 +88,7 @@ ray::Status NodeManager::RegisterGcs() { HeartbeatAdded(client, id, heartbeat_data); }; RAY_RETURN_NOT_OK(gcs_client_->heartbeat_table().Subscribe( - UniqueID::nil(), UniqueID::nil(), heartbeat_added, - [this](gcs::AsyncGcsClient *client) { + UniqueID::nil(), UniqueID::nil(), heartbeat_added, [](gcs::AsyncGcsClient *client) { RAY_LOG(DEBUG) << "heartbeat table subscription done callback called."; }));