summaryrefslogtreecommitdiff
path: root/src/helpers/ScopeGuard.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/helpers/ScopeGuard.cpp')
-rw-r--r--src/helpers/ScopeGuard.cpp10
1 files changed, 0 insertions, 10 deletions
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<void()>& fn_) : fn(fn_) {
- ;
-}
-
-CScopeGuard::~CScopeGuard() {
- if (fn)
- fn();
-}