diff options
author | David Robillard <d@drobilla.net> | 2024-10-06 16:35:13 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2024-10-06 18:40:03 -0400 |
commit | bd7539c85d1edea8c2d1fd3fb884e8bff4ecd285 (patch) | |
tree | 9497db4149fca41df1eb7f7ac9d5eb7d8ece3dda /src/gui/App.hpp | |
parent | 5fe9b2cd3e7ff8f7f23075c980e36d7d456788a8 (diff) | |
download | ingen-bd7539c85d1edea8c2d1fd3fb884e8bff4ecd285.tar.gz ingen-bd7539c85d1edea8c2d1fd3fb884e8bff4ecd285.tar.bz2 ingen-bd7539c85d1edea8c2d1fd3fb884e8bff4ecd285.zip |
Explicitly disallow copying or moving of App
Diffstat (limited to 'src/gui/App.hpp')
-rw-r--r-- | src/gui/App.hpp | 5 |
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); |