diff options
Diffstat (limited to 'c++/src')
-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 |