summaryrefslogtreecommitdiffstats
path: root/c++/src/H5File.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'c++/src/H5File.cpp')
-rw-r--r--c++/src/H5File.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/c++/src/H5File.cpp b/c++/src/H5File.cpp
index 9a668c4..4b92806 100644
--- a/c++/src/H5File.cpp
+++ b/c++/src/H5File.cpp
@@ -155,7 +155,7 @@ void H5File::p_close() const
herr_t ret_value = H5Fclose( id );
if( ret_value < 0 )
{
- throw FileIException(NULL, "H5Fclose failed");
+ throw FileIException(0, "H5Fclose failed");
}
}