From 9232bc2c00a57b99ac876b43fdfedfa25c2de774 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Sat, 21 Sep 2024 00:33:48 +0100 Subject: internal: move to hyprutils' scopeguard bumps hyprutils dep to 0.2.2 --- src/helpers/ScopeGuard.cpp | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 src/helpers/ScopeGuard.cpp (limited to 'src/helpers/ScopeGuard.cpp') diff --git a/src/helpers/ScopeGuard.cpp b/src/helpers/ScopeGuard.cpp deleted file mode 100644 index 319255cd..00000000 --- a/src/helpers/ScopeGuard.cpp +++ /dev/null @@ -1,10 +0,0 @@ -#include "ScopeGuard.hpp" - -CScopeGuard::CScopeGuard(const std::function& fn_) : fn(fn_) { - ; -} - -CScopeGuard::~CScopeGuard() { - if (fn) - fn(); -} -- cgit v1.2.3