Update src/io/rsm/rsm_client.hpp

Co-authored-by: Jeremy B <97525434+42jeremy@users.noreply.github.com>
This commit is contained in:
Tyler Neely 2022-12-06 11:31:46 +01:00 committed by GitHub
parent b288f06cb7
commit 675c2fe24a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {