mirror of
https://github.com/HDFGroup/hdf5.git
synced 2026-09-25 04:09:44 +03:00
[svn-r24830] Purpose: HDFFV-8623
Description:
Applied patch from user Jason Newton. JIRA issue HDFFV-8623, patch
9, improve c++ compatibility with exceptions. All additions of "throw()"
are included. Exception::what() is not added because it is not necessary.
It was suggested for the name, which follows stdlib.
Platforms tested:
Linux/ppc64 (ostrich)
Linux/32 2.6 (jam)
Linux/64 2.6 (koala)/PGI compilers
This commit is contained in:
@@ -220,7 +220,7 @@ InvalidActionException::InvalidActionException(const H5std_string func_name, con
|
||||
//--------------------------------------------------------------------------
|
||||
// Function: InvalidActionException destructor
|
||||
//--------------------------------------------------------------------------
|
||||
InvalidActionException::~InvalidActionException() {}
|
||||
InvalidActionException::~InvalidActionException() throw() {}
|
||||
|
||||
//--------------------------------------------------------------------------
|
||||
// Function: TestFailedException default constructor
|
||||
@@ -242,5 +242,5 @@ TestFailedException::TestFailedException(const H5std_string func_name, const H5s
|
||||
//--------------------------------------------------------------------------
|
||||
// Function: TestFailedException destructor
|
||||
//--------------------------------------------------------------------------
|
||||
TestFailedException::~TestFailedException() {}
|
||||
TestFailedException::~TestFailedException() throw() {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user