From 624886f0def4c1ded4149395f3045f72a6c6e385 Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Thu, 20 Oct 2022 12:39:29 +0300 Subject: [PATCH] wayland: Drop ScopedGlobalPointer --- src/wayland/utils.h | 14 -------------- 1 file changed, 14 deletions(-) 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.