Beispiel #1
0
    ~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();
    }
Beispiel #2
0
	~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();
	}