virtual
does not make sense here, because:
- The class is
final
, thus the destructor isn’t overridden in a derived class - The destructor also isn’t overriding the destructor of the base, clarified in commit 2b3ea39de40bc7754cab558245e4ddac1b261750
- Clang 21 may warn about this
0src/zmq/zmqnotificationinterface.h:25:13: error: virtual method '~CZMQNotificationInterface' is inside a 'final' class and can never be overridden [-Werror,-Wunnecessary-virtual-specifier]
1 25 | virtual ~CZMQNotificationInterface();
2 | ^
Fix all issues by removing it.