From 343f29801bf9322232bc58f017bbfdc3057ef0fa Mon Sep 17 00:00:00 2001 From: Philipp Moritz Date: Wed, 6 Jun 2018 22:33:46 -0700 Subject: [PATCH] [xray] Fix compilation on mac (#2199) --- src/ray/object_manager/object_directory.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ray/object_manager/object_directory.cc b/src/ray/object_manager/object_directory.cc index f98630cfc..82ddfcb2e 100644 --- a/src/ray/object_manager/object_directory.cc +++ b/src/ray/object_manager/object_directory.cc @@ -148,8 +148,8 @@ ray::Status ObjectDirectory::LookupLocations(const ObjectID &object_id, JobID job_id = JobID::nil(); ray::Status status = gcs_client_->object_table().Lookup( job_id, object_id, - [this, callback](gcs::AsyncGcsClient *client, const ObjectID &object_id, - const std::vector &location_history) { + [callback](gcs::AsyncGcsClient *client, const ObjectID &object_id, + const std::vector &location_history) { // Build the set of current locations based on the entries in the log. std::unordered_set client_ids; std::vector locations_vector =