Skip to content

Commit

Permalink
Properly initialize atomic
Browse files Browse the repository at this point in the history
  • Loading branch information
smokku committed Dec 8, 2019
1 parent 93497de commit 4904169
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BufferedTextOutput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ void BufferedTextOutput::threadDestructor(void *st)
delete ((ThreadState*)st);
}

static volatile std::atomic<int32_t> gSequence = 0;
static volatile std::atomic<int32_t> gSequence(0);

static volatile int32_t gFreeBufferIndex = -1;

Expand Down

0 comments on commit 4904169

Please sign in to comment.