From 675c2fe24acb5c3fc1f1ffbfa9215c3819c6268e Mon Sep 17 00:00:00 2001
From: Tyler Neely <tyler.neely@memgraph.io>
Date: Tue, 6 Dec 2022 11:31:46 +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 cf56b1151..2b76b6399 100644
--- a/src/io/rsm/rsm_client.hpp
+++ b/src/io/rsm/rsm_client.hpp
@@ -105,7 +105,7 @@ class RsmClient {
 
   BasicResult<TimedOut, ReadResponseT> SendReadRequest(ReadRequestT req) {
     Notifier notifier;
-    ReadinessToken readiness_token{0};
+    const ReadinessToken readiness_token{0};
     SendAsyncReadRequest(req, notifier, readiness_token);
     auto poll_result = AwaitAsyncReadRequest(readiness_token);
     while (!poll_result) {