From db70643fe358b0dc2b7d203343ca76ca4727a9f1 Mon Sep 17 00:00:00 2001 From: Asias He Date: Mon, 30 Nov 2015 09:26:09 +0800 Subject: [PATCH] failure_detector: Print application_state properly --- gms/failure_detector.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gms/failure_detector.cc b/gms/failure_detector.cc index 19b4b47dad..0581166ed5 100644 --- a/gms/failure_detector.cc +++ b/gms/failure_detector.cc @@ -192,8 +192,7 @@ void failure_detector::append_endpoint_state(std::stringstream& ss, endpoint_sta if (app_state == application_state::TOKENS) { continue; } - // FIXME: Add operator<< for application_state - ss << " " << int32_t(app_state) << ":" << value.value << "\n"; + ss << " " << app_state << ":" << value.value << "\n"; } }