summaryrefslogtreecommitdiffstats
path: root/c++/test/testhdf5.cpp
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2016-04-22 22:42:22 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2016-04-22 22:42:22 (GMT)
commitd490c837eb601c4a7eee8fba62ce8ba9adb0e9a1 (patch)
tree604b7e94e35625072c61f2a286862f779dba93c6 /c++/test/testhdf5.cpp
parent58803d08320c0f704bc4cca600e9701572ddc1b4 (diff)
downloadhdf5-d490c837eb601c4a7eee8fba62ce8ba9adb0e9a1.zip
hdf5-d490c837eb601c4a7eee8fba62ce8ba9adb0e9a1.tar.gz
hdf5-d490c837eb601c4a7eee8fba62ce8ba9adb0e9a1.tar.bz2
[svn-r29769] 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 Merged from trunk r29759 and r29766 Platforms tested: Linux/32 2.6 (jam) Linux/64 (platypus) Darwin (osx1010test)
Diffstat (limited to 'c++/test/testhdf5.cpp')
-rw-r--r--c++/test/testhdf5.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/c++/test/testhdf5.cpp b/c++/test/testhdf5.cpp
index 16648c9..dbf7e3e 100644
--- a/c++/test/testhdf5.cpp
+++ b/c++/test/testhdf5.cpp
@@ -110,7 +110,7 @@ Comment out tests that are not done yet */
AddTest("enum", test_enum, cleanup_enum, "Enum Data Types", NULL);
*/
}
- catch (Exception E)
+ catch (Exception& E)
{
issue_fail_msg("Tests failed", __LINE__, __FILE__, E.getCDetailMsg());
}