From be31ae664c2d78afb0a8ad4cf351eab340c18324 Mon Sep 17 00:00:00 2001 From: Paul Ferrand Date: Fri, 22 Nov 2019 17:57:33 +0100 Subject: [PATCH] Cosmetics --- sfizz/AtomicGuard.h | 1 + sfizz/Debug.h | 5 +---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/sfizz/AtomicGuard.h b/sfizz/AtomicGuard.h index 4577083d..c36f1bd4 100644 --- a/sfizz/AtomicGuard.h +++ b/sfizz/AtomicGuard.h @@ -41,6 +41,7 @@ public: private: std::atomic& guard; }; + class AtomicDisabler { public: diff --git a/sfizz/Debug.h b/sfizz/Debug.h index 49a2d3a3..4c7c3625 100644 --- a/sfizz/Debug.h +++ b/sfizz/Debug.h @@ -25,10 +25,7 @@ #ifndef NDEBUG #include -// These trap into the signal library rather than your own sourcecode -// #include -// #define ASSERTFALSE { ::kill(0, SIGTRAP); } -// #define ASSERTFALSE { raise(SIGTRAP); } + #if (__linux__ || __unix__) // Break in source code