summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-10-06 16:35:13 -0400
committerDavid Robillard <d@drobilla.net>2024-10-06 18:40:03 -0400
commitbd7539c85d1edea8c2d1fd3fb884e8bff4ecd285 (patch)
tree9497db4149fca41df1eb7f7ac9d5eb7d8ece3dda /src
parent5fe9b2cd3e7ff8f7f23075c980e36d7d456788a8 (diff)
downloadingen-bd7539c85d1edea8c2d1fd3fb884e8bff4ecd285.tar.gz
ingen-bd7539c85d1edea8c2d1fd3fb884e8bff4ecd285.tar.bz2
ingen-bd7539c85d1edea8c2d1fd3fb884e8bff4ecd285.zip
Explicitly disallow copying or moving of App
Diffstat (limited to 'src')
-rw-r--r--src/gui/App.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/App.hpp b/src/gui/App.hpp
index d7776896..36800898 100644
--- a/src/gui/App.hpp
+++ b/src/gui/App.hpp
@@ -77,6 +77,11 @@ class INGEN_API App
public:
~App();
+ App(const App&) = delete;
+ App& operator=(const App&) = delete;
+ App(App&&) = delete;
+ App& operator=(App&&) = delete;
+
void error_message(const std::string& str);
void attach(const std::shared_ptr<ingen::Interface>& client);