Skip to content

Commit bbae23c

Browse files
committed
Fix modern boost cancel method without args
1 parent e5afb63 commit bbae23c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/AutoClusterFailover.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ class AutoClusterFailoverImpl : public std::enable_shared_from_this<AutoClusterF
173173
ASIO_ERROR ignored;
174174
context->resolver.cancel();
175175
context->socket.close(ignored);
176-
context->timer.cancel(ignored);
176+
cancelTimer(context->timer);
177177

178178
context->callback(success);
179179
}

0 commit comments

Comments
 (0)