diff --git a/src/wayland/utils.h b/src/wayland/utils.h index 3c70dceb0a..30cbd923ff 100644 --- a/src/wayland/utils.h +++ b/src/wayland/utils.h @@ -11,26 +11,12 @@ #include #include -#include #include struct wl_resource; namespace KWaylandServer { -template -struct SafeGlobalDeleter -{ - void operator()(T *global) - { - if (global) { - global->remove(); - } - } -}; - -template -using ScopedGlobalPointer = std::unique_ptr>; /** * Returns an infinite region.