summaryrefslogtreecommitdiffstats
path: root/src/wayland.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/wayland.cpp')
-rw-r--r--src/wayland.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wayland.cpp b/src/wayland.cpp
index 0862475..baf1aaa 100644
--- a/src/wayland.cpp
+++ b/src/wayland.cpp
@@ -22,7 +22,7 @@ display::display()
logdebug("wl::display ~display @ %p", d);
wl_display_disconnect(d);
})),
- r(!d ? nullptr : std::make_unique<struct registry>(d.get())) {}
+ r(d.get()) {}
display::~display() {}