diff --git a/src/io/rsm/rsm_client.hpp b/src/io/rsm/rsm_client.hpp index b863e79a4..cf56b1151 100644 --- a/src/io/rsm/rsm_client.hpp +++ b/src/io/rsm/rsm_client.hpp @@ -94,7 +94,7 @@ class RsmClient { BasicResult SendWriteRequest(WriteRequestT req) { Notifier notifier; - ReadinessToken readiness_token{0}; + const ReadinessToken readiness_token{0}; SendAsyncWriteRequest(req, notifier, readiness_token); auto poll_result = AwaitAsyncWriteRequest(readiness_token); while (!poll_result) {