From 6643cc0f2819793cae2ceeabd41de22f57693456 Mon Sep 17 00:00:00 2001 From: disinvite Date: Sun, 5 Nov 2023 16:09:08 -0500 Subject: [PATCH] Missed clang-format on mxqueue.h --- LEGO1/mxqueue.h | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) 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