diff options
author | 2017-06-27 09:23:43 +0200 | |
---|---|---|
committer | 2017-08-08 17:24:00 +0200 | |
commit | 2dbb276974558e1e40f3169a8f4ca5d6100fc633 (patch) | |
tree | efcefb01d0fe4aae415b6dda9365370cf24584ae /src/wayland.cpp | |
parent | 88666c08dd76d09596aa9906f39d466c45d5979e (diff) |
wayland: removed unnecessary destructors
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Diffstat (limited to 'src/wayland.cpp')
-rw-r--r-- | src/wayland.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/wayland.cpp b/src/wayland.cpp index af28edf..c50a7be 100644 --- a/src/wayland.cpp +++ b/src/wayland.cpp @@ -30,8 +30,6 @@ display::display() r(d.get()) { } -display::~display() = default; - bool display::ok() const { return d && wl_display_get_error(d.get()) == 0; } void display::roundtrip() { wl_display_roundtrip(this->d.get()); } @@ -70,10 +68,6 @@ registry::registry(struct wl_display *d) } } -registry::~registry() { - logdebug("wl::registry %s @ %p", __func__, this->proxy); -} - void registry::add_global_handler(char const *iface, binder bind) { this->bindings[iface] = std::move(bind); } @@ -215,8 +209,6 @@ controller::controller(struct wl_registry *r, uint32_t name, uint32_t version) ivi_controller_add_listener(this->proxy, &listener, this); } -controller::~controller() = default; - void controller::layer_create(uint32_t id, int32_t w, int32_t h) { this->layers[id] = std::make_unique<layer>(id, w, h, this); } |