mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-24 08:41:16 +00:00
Missed clang-format on mxqueue.h
This commit is contained in:
parent
02e012167a
commit
6643cc0f28
@ -6,22 +6,21 @@
|
|||||||
template <class T>
|
template <class T>
|
||||||
class MxQueue : public MxList<T> {
|
class MxQueue : public MxList<T> {
|
||||||
public:
|
public:
|
||||||
void Enqueue(T& p_obj)
|
void Enqueue(T& p_obj)
|
||||||
{
|
{
|
||||||
// TODO
|
// TODO
|
||||||
}
|
}
|
||||||
|
|
||||||
MxBool Dequeue(T& p_obj)
|
MxBool Dequeue(T& p_obj)
|
||||||
{
|
{
|
||||||
MxBool has_next = (m_first != NULL);
|
MxBool has_next = (m_first != NULL);
|
||||||
if (m_first) {
|
if (m_first) {
|
||||||
p_obj = m_first->GetValue();
|
p_obj = m_first->GetValue();
|
||||||
_DeleteEntry(m_first);
|
_DeleteEntry(m_first);
|
||||||
}
|
}
|
||||||
|
|
||||||
return has_next;
|
return has_next;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
#endif // MXQUEUE_H
|
#endif // MXQUEUE_H
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user