This is an automated email from the ASF dual-hosted git repository.

xyz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-client-cpp.git


The following commit(s) were added to refs/heads/main by this push:
     new ff074bf  Fix modern boost cancel method without args (#561)
ff074bf is described below

commit ff074bf87e7f2e44fc6c34ff04ea790523523997
Author: Daeho Ro <[email protected]>
AuthorDate: Thu Apr 2 20:31:54 2026 +0900

    Fix modern boost cancel method without args (#561)
---
 lib/AutoClusterFailover.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/AutoClusterFailover.cc b/lib/AutoClusterFailover.cc
index 4fdfc1e..dbdfa29 100644
--- a/lib/AutoClusterFailover.cc
+++ b/lib/AutoClusterFailover.cc
@@ -173,7 +173,7 @@ class AutoClusterFailoverImpl : public 
std::enable_shared_from_this<AutoClusterF
         ASIO_ERROR ignored;
         context->resolver.cancel();
         context->socket.close(ignored);
-        context->timer.cancel(ignored);
+        cancelTimer(context->timer);
 
         context->callback(success);
     }

Reply via email to