diff options
Diffstat (limited to 'src/common/fifo_queue.h')
| -rw-r--r-- | src/common/fifo_queue.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/fifo_queue.h b/src/common/fifo_queue.h index 78a8f561d..2c18285d4 100644 --- a/src/common/fifo_queue.h +++ b/src/common/fifo_queue.h | |||
| @@ -45,7 +45,7 @@ public: | |||
| 45 | // create the element, add it to the queue | 45 | // create the element, add it to the queue |
| 46 | m_write_ptr->current = new T(std::forward<Arg>(t)); | 46 | m_write_ptr->current = new T(std::forward<Arg>(t)); |
| 47 | // set the next pointer to a new element ptr | 47 | // set the next pointer to a new element ptr |
| 48 | // then advance the write pointer | 48 | // then advance the write pointer |
| 49 | m_write_ptr = m_write_ptr->next = new ElementPtr(); | 49 | m_write_ptr = m_write_ptr->next = new ElementPtr(); |
| 50 | Common::AtomicIncrement(m_size); | 50 | Common::AtomicIncrement(m_size); |
| 51 | } | 51 | } |