diff options
Diffstat (limited to 'src/mem/ruby/buffers/MessageBuffer.hh')
-rw-r--r-- | src/mem/ruby/buffers/MessageBuffer.hh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mem/ruby/buffers/MessageBuffer.hh b/src/mem/ruby/buffers/MessageBuffer.hh index e09abeb7d..df04d810c 100644 --- a/src/mem/ruby/buffers/MessageBuffer.hh +++ b/src/mem/ruby/buffers/MessageBuffer.hh @@ -35,6 +35,7 @@ #define __MEM_RUBY_BUFFERS_MESSAGEBUFFER_HH__ #include <algorithm> +#include <cassert> #include <functional> #include <iostream> #include <vector> @@ -85,7 +86,7 @@ class MessageBuffer void setPriority(int rank) { m_priority_rank = rank; } void setConsumer(Consumer* consumer_ptr) { - ASSERT(m_consumer_ptr == NULL); + assert(m_consumer_ptr == NULL); m_consumer_ptr = consumer_ptr; } |