diff options
author | Northstar <northstar@northstar.tf> | 2024-08-26 15:18:56 +0200 |
---|---|---|
committer | Northstar <northstar@northstar.tf> | 2024-08-26 15:18:56 +0200 |
commit | 6e9792f3651d1e0c7045c5d67312c10f91ce6962 (patch) | |
tree | 728dc0d4ac2d1c0d8f5a8490e8c45ea69494f927 /primedev/util | |
parent | f6915dc331685574289e7b45e5d2d36b530f50f3 (diff) | |
download | NorthstarLauncher-6e9792f3651d1e0c7045c5d67312c10f91ce6962.tar.gz NorthstarLauncher-6e9792f3651d1e0c7045c5d67312c10f91ce6962.zip |
Format project
Diffstat (limited to 'primedev/util')
-rw-r--r-- | primedev/util/utils.h | 5 |
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) |