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.hpp | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 src/helpers/ScopeGuard.hpp (limited to 'src/helpers/ScopeGuard.hpp') diff --git a/src/helpers/ScopeGuard.hpp b/src/helpers/ScopeGuard.hpp deleted file mode 100644 index 8a1468eb..00000000 --- a/src/helpers/ScopeGuard.hpp +++ /dev/null @@ -1,13 +0,0 @@ -#pragma once - -#include - -// calls a function when it goes out of scope -class CScopeGuard { - public: - CScopeGuard(const std::function& fn_); - ~CScopeGuard(); - - private: - std::function fn; -}; -- cgit v1.2.3