mirror of
https://github.com/HDFGroup/hdf5.git
synced 2026-09-25 04:09:44 +03:00
[svn-r29759] Purpose: Code improvements
Description:
- Changed object in catch statements to reference
- Replaced old-style casts or reinterpret_cast with static_cast
- Removed unused name H5Library::need_cleanup
- Removed Exception::printError from documentation
Platforms tested:
Linux/32 2.6 (jam)
Linux/64 (platypus)
Darwin (osx1010test)
This commit is contained in:
+4
-2
@@ -269,7 +269,8 @@ static void test_array_compound_array()
|
||||
file1.close();
|
||||
PASSED();
|
||||
} // end of try block
|
||||
catch (Exception E) {
|
||||
catch (Exception& E)
|
||||
{
|
||||
issue_fail_msg("test_array_compound_array", __LINE__, __FILE__, E.getCDetailMsg());
|
||||
}
|
||||
|
||||
@@ -343,7 +344,8 @@ static void test_array_assignment()
|
||||
|
||||
PASSED();
|
||||
} // end of try block
|
||||
catch (Exception E) {
|
||||
catch (Exception& E)
|
||||
{
|
||||
issue_fail_msg("test_array_assignment", __LINE__, __FILE__, E.getCDetailMsg());
|
||||
}
|
||||
} // end test_array_assignment()
|
||||
|
||||
Reference in New Issue
Block a user