~FileManager() { M_Files::const_iterator itr = m_Files.begin(); M_Files::const_iterator end = m_Files.end(); for ( ; itr != end; ++itr ) { fclose( itr->second ); } m_Files.clear(); }
~FileManager() { M_Files::const_iterator itr = m_Files.begin(); M_Files::const_iterator end = m_Files.end(); for ( ; itr != end; ++itr ) { itr->second->Close(); delete itr->second; } m_Files.clear(); }