aboutsummaryrefslogtreecommitdiff
path: root/primedev/util/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'primedev/util/utils.h')
-rw-r--r--primedev/util/utils.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/primedev/util/utils.h b/primedev/util/utils.h
index 4b7f57c8..c613d16d 100644
--- a/primedev/util/utils.h
+++ b/primedev/util/utils.h
@@ -8,7 +8,10 @@ public:
auto operator=(ScopeGuard&) = delete;
ScopeGuard(ScopeGuard&) = delete;
- ScopeGuard(T callback) : m_callback(callback) {}
+ ScopeGuard(T callback)
+ : m_callback(callback)
+ {
+ }
~ScopeGuard()
{
if (!m_dismissed)