From 38eff4019d73766d6b6d42daad95a4cb455289b7 Mon Sep 17 00:00:00 2001 From: Emiel Bruijntjes Date: Thu, 13 Jul 2023 21:33:36 +0200 Subject: [PATCH] added "override" to TcpConnection::onUnblocked(). Fixes #504 --- include/amqpcpp/linux_tcp/tcpconnection.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/amqpcpp/linux_tcp/tcpconnection.h b/include/amqpcpp/linux_tcp/tcpconnection.h index 7cfd533e..1c674b3a 100644 --- a/include/amqpcpp/linux_tcp/tcpconnection.h +++ b/include/amqpcpp/linux_tcp/tcpconnection.h @@ -132,7 +132,7 @@ class TcpConnection : * Method that is called when the AMQP connection is no longer blocked. * @param connection The connection that is no longer blocked */ - virtual void onUnblocked(Connection *connection) + virtual void onUnblocked(Connection *connection) override { // pass to user space if (_handler) _handler->onUnblocked(this);