diff options
Diffstat (limited to 'lib/gras_impl/output_buffer_queues.hpp')
-rw-r--r-- | lib/gras_impl/output_buffer_queues.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/gras_impl/output_buffer_queues.hpp b/lib/gras_impl/output_buffer_queues.hpp index 5674c3d..d9cd5e4 100644 --- a/lib/gras_impl/output_buffer_queues.hpp +++ b/lib/gras_impl/output_buffer_queues.hpp @@ -57,7 +57,7 @@ struct OutputBufferQueues GRAS_FORCE_INLINE SBuffer &front(const size_t i) { - ASSERT(not _queues[i]->empty()); + ASSERT(not this->empty(i)); return _queues[i]->front(); } @@ -93,6 +93,7 @@ struct OutputBufferQueues GRAS_FORCE_INLINE bool empty(const size_t i) const { + ASSERT(_queues[i]); return _queues[i]->empty(); } |