Merge #286
286: Drop workaround for 16.04 era compilers r=Saviq a=AlanGriffiths
Co-authored-by: Alan Griffiths <alan@octopull.co.uk>
diff --git a/tests/copy_cut_paste.cpp b/tests/copy_cut_paste.cpp
index 7e15792..de29435 100644
--- a/tests/copy_cut_paste.cpp
+++ b/tests/copy_cut_paste.cpp
@@ -38,8 +38,7 @@
struct CCnPSource : Client
{
- // Can't use "using Client::Client;" because Xenial
- CCnPSource(Server& server) : Client{server} {}
+ using Client::Client;
Surface const surface{create_visible_surface(any_width, any_height)};
WlHandle<wl_data_device_manager> const manager{
@@ -74,8 +73,7 @@
struct CCnPSink : Client
{
- // Can't use "using Client::Client;" because Xenial
- CCnPSink(Server& server) : Client{server} {}
+ using Client::Client;
WlHandle<wl_data_device_manager> const manager{
this->bind_if_supported<wl_data_device_manager>(AnyVersion)};
diff --git a/tests/gtk_primary_selection.cpp b/tests/gtk_primary_selection.cpp
index 2dbb5e9..85f0b93 100644
--- a/tests/gtk_primary_selection.cpp
+++ b/tests/gtk_primary_selection.cpp
@@ -34,8 +34,7 @@
struct SourceApp : Client
{
- // Can't use "using Client::Client;" because Xenial
- explicit SourceApp(Server& server) : Client{server} {}
+ using Client::Client;
WlHandle<gtk_primary_selection_device_manager> manager{
this->bind_if_supported<gtk_primary_selection_device_manager>(AnyVersion)};
diff --git a/tests/primary_selection.cpp b/tests/primary_selection.cpp
index 1a391a6..2f18a4d 100644
--- a/tests/primary_selection.cpp
+++ b/tests/primary_selection.cpp
@@ -34,8 +34,7 @@
struct SourceApp : Client
{
- // Can't use "using Client::Client;" because Xenial
- explicit SourceApp(Server& server) : Client{server} {}
+ using Client::Client;
WlHandle<zwp_primary_selection_device_manager_v1> const manager{
this->bind_if_supported<zwp_primary_selection_device_manager_v1>(AnyVersion)};