From c97595a3915bc385c3b80dbf582bc46dceba3a79 Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Wed, 9 Jun 2021 13:04:51 +0200 Subject: [PATCH] Mark Vst{2,3}Sockets as final Since we're calling a virtual method during the destructor. --- src/common/communication/vst2.h | 2 +- src/common/communication/vst3.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/communication/vst2.h b/src/common/communication/vst2.h index c442c973..2f45dd13 100644 --- a/src/common/communication/vst2.h +++ b/src/common/communication/vst2.h @@ -325,7 +325,7 @@ class Vst2EventHandler : public AdHocSocketHandler { * should be `std::jthread` and on the Wine side this should be `Win32Thread`. */ template -class Vst2Sockets : public Sockets { +class Vst2Sockets final : public Sockets { public: /** * Sets up the sockets using the specified base directory. The sockets won't diff --git a/src/common/communication/vst3.h b/src/common/communication/vst3.h index da139e75..a40f1165 100644 --- a/src/common/communication/vst3.h +++ b/src/common/communication/vst3.h @@ -294,7 +294,7 @@ class Vst3MessageHandler : public AdHocSocketHandler { * should be `std::jthread` and on the Wine side this should be `Win32Thread`. */ template -class Vst3Sockets : public Sockets { +class Vst3Sockets final : public Sockets { public: /** * Sets up the sockets using the specified base directory. The sockets won't