aboutsummaryrefslogtreecommitdiff
path: root/primedev/logging/crashhandler.h
diff options
context:
space:
mode:
authorNorthstar <northstar@northstar.tf>2024-08-23 23:26:57 +0200
committerNorthstar <northstar@northstar.tf>2024-08-23 23:26:57 +0200
commit5b2c608b22ba272e4ab1a45adc1f43b60b1aea79 (patch)
treee827952268ac29f0c08f0891ddba09af1f089e5e /primedev/logging/crashhandler.h
parentd333a966ed961fca02d80212fe1384cf8600b9cb (diff)
downloadNorthstarLauncher-5b2c608b22ba272e4ab1a45adc1f43b60b1aea79.tar.gz
NorthstarLauncher-5b2c608b22ba272e4ab1a45adc1f43b60b1aea79.zip
Format project
Diffstat (limited to 'primedev/logging/crashhandler.h')
-rw-r--r--primedev/logging/crashhandler.h40
1 files changed, 11 insertions, 29 deletions
diff --git a/primedev/logging/crashhandler.h b/primedev/logging/crashhandler.h
index c059a8ca..992dd7d2 100644
--- a/primedev/logging/crashhandler.h
+++ b/primedev/logging/crashhandler.h
@@ -14,35 +14,17 @@ public:
void Init();
void Shutdown();
- void Lock()
- {
- m_Mutex.lock();
- }
-
- void Unlock()
- {
- m_Mutex.unlock();
- }
-
- void SetState(bool bState)
- {
- m_bState = bState;
- }
-
- bool GetState() const
- {
- return m_bState;
- }
-
- void SetAllFatal(bool bState)
- {
- m_bAllExceptionsFatal = bState;
- }
-
- bool GetAllFatal() const
- {
- return m_bAllExceptionsFatal;
- }
+ void Lock() { m_Mutex.lock(); }
+
+ void Unlock() { m_Mutex.unlock(); }
+
+ void SetState(bool bState) { m_bState = bState; }
+
+ bool GetState() const { return m_bState; }
+
+ void SetAllFatal(bool bState) { m_bAllExceptionsFatal = bState; }
+
+ bool GetAllFatal() const { return m_bAllExceptionsFatal; }
//-----------------------------------------------------------------------------
// Exception helpers