diff options
author | David Robillard <d@drobilla.net> | 2020-08-01 21:31:04 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-08-02 01:48:48 +0200 |
commit | c0de5d2620cc1ee227ff2c64ef163e308ba19cb4 (patch) | |
tree | e0958e92ab78cb5f17f9073ab75faaec9912b847 /src/server/PluginImpl.hpp | |
parent | 7b70b455e6199b508217b021d9a0dfc08f9a7794 (diff) | |
download | ingen-c0de5d2620cc1ee227ff2c64ef163e308ba19cb4.tar.gz ingen-c0de5d2620cc1ee227ff2c64ef163e308ba19cb4.tar.bz2 ingen-c0de5d2620cc1ee227ff2c64ef163e308ba19cb4.zip |
Use explicit default for trivial constructors
Diffstat (limited to 'src/server/PluginImpl.hpp')
-rw-r--r-- | src/server/PluginImpl.hpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/server/PluginImpl.hpp b/src/server/PluginImpl.hpp index 3c93aa21..e209dbc9 100644 --- a/src/server/PluginImpl.hpp +++ b/src/server/PluginImpl.hpp @@ -48,6 +48,9 @@ public: { } + PluginImpl(const PluginImpl&) = delete; + PluginImpl& operator=(const PluginImpl&) = delete; + virtual BlockImpl* instantiate(BufferFactory& bufs, const Raul::Symbol& symbol, bool polyphonic, @@ -84,10 +87,6 @@ protected: Presets _presets; bool _presets_loaded; bool _is_zombie; - -private: - PluginImpl(const PluginImpl&) = delete; - PluginImpl& operator=(const PluginImpl&) = delete; }; } // namespace server |