mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-07 06:45:20 +01:00
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:
1 parent
70e8c3cf41
commit
c439d1bef2
6 files changed
+27
-27
No files matched your search
@@ -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".." );
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user