From b288f06cb7e51b69ddaaccf690e9816ed4f5017a Mon Sep 17 00:00:00 2001 From: Tyler Neely <tyler.neely@memgraph.io> Date: Tue, 6 Dec 2022 11:31:40 +0100 Subject: [PATCH] Update src/io/rsm/rsm_client.hpp Co-authored-by: Jeremy B <97525434+42jeremy@users.noreply.github.com> --- src/io/rsm/rsm_client.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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<TimedOut, WriteResponseT> 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) {