Syntax change to avoid gcc 4.8 segfaulting (#162)
This commit is contained in:
parent
be8a8e9380
commit
2ce9fe068b
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
template <typename ElementType, size_t QueueSize>
|
template <typename ElementType, size_t QueueSize>
|
||||||
class MsgQueue {
|
class MsgQueue {
|
||||||
ElementType queue_[QueueSize]{};
|
ElementType queue_[QueueSize];
|
||||||
std::atomic_uint nextAdd_{0};
|
std::atomic_uint nextAdd_{0};
|
||||||
std::atomic_uint nextSend_{0};
|
std::atomic_uint nextSend_{0};
|
||||||
std::atomic_uint pendingSends_{0};
|
std::atomic_uint pendingSends_{0};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user