Cosmetics
This commit is contained in:
parent
9bc5e54b0b
commit
be31ae664c
2 changed files with 2 additions and 4 deletions
|
|
@ -41,6 +41,7 @@ public:
|
||||||
private:
|
private:
|
||||||
std::atomic<bool>& guard;
|
std::atomic<bool>& guard;
|
||||||
};
|
};
|
||||||
|
|
||||||
class AtomicDisabler
|
class AtomicDisabler
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
|
||||||
|
|
@ -25,10 +25,7 @@
|
||||||
|
|
||||||
#ifndef NDEBUG
|
#ifndef NDEBUG
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
// These trap into the signal library rather than your own sourcecode
|
|
||||||
// #include <signal.h>
|
|
||||||
// #define ASSERTFALSE { ::kill(0, SIGTRAP); }
|
|
||||||
// #define ASSERTFALSE { raise(SIGTRAP); }
|
|
||||||
#if (__linux__ || __unix__)
|
#if (__linux__ || __unix__)
|
||||||
|
|
||||||
// Break in source code
|
// Break in source code
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue