diff --git a/LEGO1/mxqueue.h b/LEGO1/mxqueue.h index cba4b45e..fd22cb0a 100644 --- a/LEGO1/mxqueue.h +++ b/LEGO1/mxqueue.h @@ -6,22 +6,21 @@ template class MxQueue : public MxList { public: - void Enqueue(T& p_obj) - { - // TODO - } + void Enqueue(T& p_obj) + { + // TODO + } - MxBool Dequeue(T& p_obj) - { - MxBool has_next = (m_first != NULL); - if (m_first) { - p_obj = m_first->GetValue(); - _DeleteEntry(m_first); - } + MxBool Dequeue(T& p_obj) + { + MxBool has_next = (m_first != NULL); + if (m_first) { + p_obj = m_first->GetValue(); + _DeleteEntry(m_first); + } - return has_next; - } + return has_next; + } }; - #endif // MXQUEUE_H