diff options
author | Marcus Fritzsch <marcus_fritzsch@mentor.com> | 2017-06-26 13:20:05 +0200 |
---|---|---|
committer | Marcus Fritzsch <marcus_fritzsch@mentor.com> | 2017-08-08 17:24:00 +0200 |
commit | 0f8562c512b461f24ef2ea9e61bdc20a1ef602f0 (patch) | |
tree | 7fc865adf15318d96fdc15e1b5a746fde5b692d9 /src/wayland.hpp | |
parent | dc465727c14a7d7588dad8554afc08f55e769b76 (diff) |
wayland: display unique_ptr holds a void(*)(...) deleter
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Diffstat (limited to 'src/wayland.hpp')
-rw-r--r-- | src/wayland.hpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/wayland.hpp b/src/wayland.hpp index ba1effd..7ff1145 100644 --- a/src/wayland.hpp +++ b/src/wayland.hpp @@ -66,8 +66,7 @@ struct registry : public wayland_proxy<struct wl_registry> { // \__,_|_|___/ .__/|_|\__,_|\__, | // |_| |___/ struct display { - std::unique_ptr<struct wl_display, std::function<void(struct wl_display *)>> - d; + std::unique_ptr<struct wl_display, void(*)(struct wl_display *)> d; struct registry r; display(); |