mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +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.
|
||||
// The good thing with C++11 atomics is that we can use atomic<bool> instead
|
||||
// here and be on the actually supported path.
|
||||
static std::atomic<bool> s_disconnect;
|
||||
static std::atomic<bool> s_disconnect { false };
|
||||
|
||||
void SigInt( int )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user