Minor refactoring; doing this just to help minimize the changelog spam of the next commit (not that it'll help much)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3600 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
Jake.Stine committed 2010-08-04 19:10:41 +00:00
1 parent 70e8c3cf41
commit c439d1bef2
6 files changed
+27 -27

No files matched your search

+3 -3
View File
@@ -38,14 +38,14 @@ static int _calcEnumLength( const wxChar* const* enumArray )
return cnt;
}
IniScopedGroup::IniScopedGroup( IniInterface& mommy, const wxString& group )
ScopedIniGroup::ScopedIniGroup( IniInterface& mommy, const wxString& group )
: m_mom( mommy )
{
pxAssertDev( wxStringTokenize( group, L"/" ).Count() <= 1, L"Cannot nest more than one group deep per instance of IniScopedGroup." );
pxAssertDev( wxStringTokenize( group, L"/" ).Count() <= 1, L"Cannot nest more than one group deep per instance of ScopedIniGroup." );
m_mom.SetPath( group );
}
IniScopedGroup::~IniScopedGroup()
ScopedIniGroup::~ScopedIniGroup()
{
m_mom.SetPath( L".." );
}