Skip to content

Commit

Permalink
Syntax change to avoid gcc 4.8 segfaulting (#162)
Browse files Browse the repository at this point in the history
  • Loading branch information
codecat authored and msciotti committed Apr 4, 2018
1 parent be8a8e9 commit 2ce9fe0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/msg_queue.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

template <typename ElementType, size_t QueueSize>
class MsgQueue {
ElementType queue_[QueueSize]{};
ElementType queue_[QueueSize];
std::atomic_uint nextAdd_{0};
std::atomic_uint nextSend_{0};
std::atomic_uint pendingSends_{0};
Expand Down

0 comments on commit 2ce9fe0

Please sign in to comment.