Mark Vst{2,3}Sockets as final

Since we're calling a virtual method during the destructor.
This commit is contained in:
Robbert van der Helm
2021-06-09 13:04:51 +02:00
parent 6fd31168d8
commit c97595a391
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -325,7 +325,7 @@ class Vst2EventHandler : public AdHocSocketHandler<Thread> {
* should be `std::jthread` and on the Wine side this should be `Win32Thread`. * should be `std::jthread` and on the Wine side this should be `Win32Thread`.
*/ */
template <typename Thread> template <typename Thread>
class Vst2Sockets : public Sockets { class Vst2Sockets final : public Sockets {
public: public:
/** /**
* Sets up the sockets using the specified base directory. The sockets won't * Sets up the sockets using the specified base directory. The sockets won't
+1 -1
View File
@@ -294,7 +294,7 @@ class Vst3MessageHandler : public AdHocSocketHandler<Thread> {
* should be `std::jthread` and on the Wine side this should be `Win32Thread`. * should be `std::jthread` and on the Wine side this should be `Win32Thread`.
*/ */
template <typename Thread> template <typename Thread>
class Vst3Sockets : public Sockets { class Vst3Sockets final : public Sockets {
public: public:
/** /**
* Sets up the sockets using the specified base directory. The sockets won't * Sets up the sockets using the specified base directory. The sockets won't