From 3e209bfd33a9ae95814549ed133b422f9f70253d Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 24 Sep 2020 15:58:06 +0200 Subject: [PATCH] VST3: prevent plugin copy-construction --- libs/ardour/ardour/vst3_plugin.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libs/ardour/ardour/vst3_plugin.h b/libs/ardour/ardour/vst3_plugin.h index 4e38dc23b2..3be200414a 100644 --- a/libs/ardour/ardour/vst3_plugin.h +++ b/libs/ardour/ardour/vst3_plugin.h @@ -140,7 +140,9 @@ public: void process (float** ins, float** outs, uint32_t n_samples); private: - void init (); + /* prevent copy construction */ + VST3PI (const VST3PI&); + void terminate (); bool connect_components (); bool disconnect_components ();