Syntax change to avoid gcc 4.8 segfaulting (#162)

This commit is contained in:
Codecat 2018-04-04 19:00:24 +02:00 committed by Mason Sciotti
parent be8a8e9380
commit 2ce9fe068b

View file

@ -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};