Fix src/core/archive.cpp to compile on gcc-4.9 according to the instructions on this page: http://www.linuxfromscratch.org/blfs/view/svn/postlfs/tripwire.html

This commit is contained in:
Thom O'Connor 2016-03-19 14:16:51 -06:00
parent 6c7b0a5ce9
commit dddc0fa5d2
1 changed files with 2 additions and 4 deletions

View File

@ -886,8 +886,7 @@ void cLockedTemporaryFileArchive::OpenReadWrite( const TCHAR* filename, uint32 o
catch( eFSServices& e)
{
TSTRING errStr = TSS_GetString( cCore, core::STR_BAD_TEMPDIRECTORY );
eArchiveOpen e(strTempFile, errStr);
throw e;
throw ( eArchiveOpen(strTempFile, errStr) );
}
}
///////////////////////////////////////////////////////////////////////////////
@ -918,8 +917,7 @@ void cLockedTemporaryFileArchive::OpenReadWrite( const TCHAR* filename, uint32 o
}//try
catch (eFile& fileError) {
TSTRING errStr = TSS_GetString( cCore, core::STR_BAD_TEMPDIRECTORY );
eArchiveOpen e(strTempFile, errStr);
throw e;
throw ( eArchiveOpen(strTempFile, errStr) );
}
///////////////////////////////////////////////////////////////////////////////