diff options
author | Marcus Fritzsch <marcus_fritzsch@mentor.com> | 2017-08-16 14:52:40 +0200 |
---|---|---|
committer | Marcus Fritzsch <marcus_fritzsch@mentor.com> | 2017-08-16 14:52:50 +0200 |
commit | 0c9c1107ad673bc9a4977d57041c936678429a1e (patch) | |
tree | a13516c5c19005fc4a8a0056d9818ca2189da732 /src/app.hpp | |
parent | d08e5d1a943b65ece5ca519c200ab2c0359f51d7 (diff) |
app: some more constructor security
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, 3 insertions, 1 deletions
diff --git a/src/app.hpp b/src/app.hpp index 1926ca4..90ab42c 100644 --- a/src/app.hpp +++ b/src/app.hpp @@ -56,11 +56,13 @@ struct App { typedef std::pair<char const *, std::function<void()>> name_task_pair; std::vector<name_task_pair> pending; - App(wl::display *d); + explicit App(wl::display *d); ~App(); App(App const &) = delete; App &operator=(App const &) = delete; + App(App &&) = delete; + App &operator=(App &&) = delete; int init(); int dispatch_events(); |