commit | 287d98e8f2d45e0cbb35fc2ce243749bf6ab820a | [log] [tgz] |
---|---|---|
author | Austin Schuh <austin@peloton-tech.com> | Sun Mar 09 00:41:55 2014 -0800 |
committer | Austin Schuh <austin@peloton-tech.com> | Sun Mar 09 00:41:55 2014 -0800 |
tree | 20e521f72a6a7fa663d79fdc360e64de6f49d3f6 | |
parent | d1e65b99a24ec29b6d3633923180240e6d5c808e [diff] [blame] |
Brian switched queues over to only use indices and fixed a bug or two.
diff --git a/aos/common/queue.h b/aos/common/queue.h index 65bfa95..e2d2af4 100644 --- a/aos/common/queue.h +++ b/aos/common/queue.h
@@ -287,6 +287,7 @@ T *MakeRawMessage(); // Pointer to the queue that this object fetches from. RawQueue *queue_; + int index_ = 0; #endif // Scoped pointer holding the latest message or NULL. ScopedMessagePtr<const T> queue_msg_;