diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2016-04-22 20:32:18 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2016-04-22 20:32:18 (GMT) |
commit | 997392079b023bf366b62c17936d4ec305739be3 (patch) | |
tree | 122ba2b1d3f3b240a88c74dd75e2d83ecdbb54e7 /c++/src/H5File.cpp | |
parent | c37607eb58994041cbeaabdab5f1e9902794a3e9 (diff) | |
download | hdf5-997392079b023bf366b62c17936d4ec305739be3.zip hdf5-997392079b023bf366b62c17936d4ec305739be3.tar.gz hdf5-997392079b023bf366b62c17936d4ec305739be3.tar.bz2 |
[svn-r29766] Description:
- Changed object in catch statements to reference (left over from previous)
Platforms tested:
Linux/32 2.6 (jam) (very minor)
Diffstat (limited to 'c++/src/H5File.cpp')
-rw-r--r-- | c++/src/H5File.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c++/src/H5File.cpp b/c++/src/H5File.cpp index e63694a..4602c6f 100644 --- a/c++/src/H5File.cpp +++ b/c++/src/H5File.cpp @@ -586,7 +586,7 @@ void H5File::p_setId(const hid_t new_id) try { close(); } - catch (Exception E) { + catch (Exception& E) { throw FileIException("H5File::p_setId", E.getDetailMsg()); } // reset object's id to the given id |