debugging

This commit is contained in:
Glenn Maynard
2007-05-03 20:41:28 +00:00
parent d69d9195e8
commit cfef5b06f8
+3 -1
View File
@@ -287,7 +287,9 @@ const OptionRowHandler *OptionsList::GetCurrentHandler()
int OptionsList::GetOneSelection( RString sRow, bool bAllowFail ) const
{
const vector<bool> &bSelections = m_bSelections.find(sRow)->second;
map<RString, vector<bool> >::const_iterator it = m_bSelections.find(sRow);
ASSERT_M( it != m_bSelections.end(), sRow );
const vector<bool> &bSelections = it->second;
for( unsigned i=0; i<bSelections.size(); i++ )
{
if( bSelections[i] )