mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 14:44:34 +00:00
explicitly initialize as false - hope the compiler optimizes that
This commit is contained in:
parent
331f39e6a5
commit
ce1f6d0526
@ -31,7 +31,7 @@
|
|||||||
// technically not allowed there, even though in practice it would work.
|
// technically not allowed there, even though in practice it would work.
|
||||||
// The good thing with C++11 atomics is that we can use atomic<bool> instead
|
// The good thing with C++11 atomics is that we can use atomic<bool> instead
|
||||||
// here and be on the actually supported path.
|
// here and be on the actually supported path.
|
||||||
static std::atomic<bool> s_disconnect;
|
static std::atomic<bool> s_disconnect { false };
|
||||||
|
|
||||||
void SigInt( int )
|
void SigInt( int )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user