diff --git a/source/CardManager.cpp b/source/CardManager.cpp index 2cb25465..a3181d7f 100644 --- a/source/CardManager.cpp +++ b/source/CardManager.cpp @@ -120,12 +120,6 @@ void CardManager::RemoveInternal(UINT slot) m_slot[slot] = NULL; } -void CardManager::RemoveAuxInternal() -{ - delete m_aux; - m_aux = NULL; -} - void CardManager::Remove(UINT slot) { RemoveInternal(slot); @@ -159,6 +153,12 @@ void CardManager::InsertAux(SS_CARDTYPE type) _ASSERT(m_aux != NULL); } +void CardManager::RemoveAuxInternal() +{ + delete m_aux; + m_aux = NULL; +} + void CardManager::RemoveAux(void) { RemoveAuxInternal(); diff --git a/source/CardManager.h b/source/CardManager.h index 367cafae..e152f645 100644 --- a/source/CardManager.h +++ b/source/CardManager.h @@ -53,7 +53,7 @@ public: private: void RemoveInternal(UINT slot); - void RemoveAuxInternal(); + void RemoveAuxInternal(void); Card* m_slot[NUM_SLOTS]; Card* m_aux;