mirror of https://github.com/PCSX2/pcsx2.git
Another fix for GCC compilation errors.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3339 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
a297b9fe1c
commit
991f813cc0
|
@ -51,7 +51,7 @@ wxDirName& wxDirName::Normalize( int flags, const wxString& cwd )
|
|||
{
|
||||
pxAssertMsg( IsDir(), L"Warning: Malformed directory name detected during wDirName normalization." );
|
||||
if( !wxFileName::Normalize( flags, cwd ) )
|
||||
throw Exception::RuntimeError( "wxDirName::Normalize operation failed." );
|
||||
throw Exception::ParseError().SetDiagMsg( L"wxDirName::Normalize operation failed." );
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
@ -59,7 +59,7 @@ wxDirName& wxDirName::MakeRelativeTo( const wxString& pathBase )
|
|||
{
|
||||
pxAssertMsg( IsDir(), L"Warning: Malformed directory name detected during wDirName normalization." );
|
||||
if( !wxFileName::MakeRelativeTo( pathBase ) )
|
||||
throw Exception::RuntimeError( "wxDirName::MakeRelativeTo operation failed." );
|
||||
throw Exception::ParseError().SetDiagMsg( L"wxDirName::MakeRelativeTo operation failed." );
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
@ -67,7 +67,7 @@ wxDirName& wxDirName::MakeAbsolute( const wxString& cwd )
|
|||
{
|
||||
pxAssertMsg( IsDir(), L"Warning: Malformed directory name detected during wDirName normalization." );
|
||||
if( !wxFileName::MakeAbsolute( cwd ) )
|
||||
throw Exception::RuntimeError( "wxDirName::MakeAbsolute operation failed." );
|
||||
throw Exception::ParseError().SetDiagMsg( L"wxDirName::MakeAbsolute operation failed." );
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue