Use ASSERT like a function.

This commit is contained in:
Steve Checkoway
2005-12-30 13:19:40 +00:00
parent 7cc18a89cd
commit ada5f4f00f
6 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -428,7 +428,7 @@ void PrefsManager::SetCurrentGame( const CString &sGame )
void PrefsManager::StoreGamePrefs()
{
ASSERT( !m_sCurrentGame.Get().empty() )
ASSERT( !m_sCurrentGame.Get().empty() );
// save off old values
GamePrefs &gp = m_mapGameNameToGamePrefs[m_sCurrentGame];
@@ -439,7 +439,7 @@ void PrefsManager::StoreGamePrefs()
void PrefsManager::RestoreGamePrefs()
{
ASSERT( !m_sCurrentGame.Get().empty() )
ASSERT( !m_sCurrentGame.Get().empty() );
// load prefs
map<CString, GamePrefs>::const_iterator iter = m_mapGameNameToGamePrefs.find( m_sCurrentGame );