diff options
author | 2017-07-13 12:09:22 +0200 | |
---|---|---|
committer | 2017-08-08 17:24:00 +0200 | |
commit | b3e6d76a1729ead40eb1fa5af98d8d734dfdd09b (patch) | |
tree | 0504158947384de8e8cf751b31f4013cea074806 /src/app.hpp | |
parent | b166f3512f5e426e60a4ff610a9f07239ac18ea1 (diff) |
app: reset g_app on ~App()
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Diffstat (limited to 'src/app.hpp')
-rw-r--r-- | src/app.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/app.hpp b/src/app.hpp index 4e1c4ff..172e688 100644 --- a/src/app.hpp +++ b/src/app.hpp @@ -32,6 +32,10 @@ struct App { std::vector<std::unique_ptr<struct wl::output>> outputs; App(wl::display *d); + ~App(); + + App(App const &) = delete; + App &operator=(App const &) = delete; int init(); int dispatch_events(); |