diff options
Diffstat (limited to 'src/helpers/ScopeGuard.hpp')
| -rw-r--r-- | src/helpers/ScopeGuard.hpp | 13 |
1 files changed, 0 insertions, 13 deletions
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 <functional> - -// calls a function when it goes out of scope -class CScopeGuard { - public: - CScopeGuard(const std::function<void()>& fn_); - ~CScopeGuard(); - - private: - std::function<void()> fn; -}; |
