diff options
Diffstat (limited to 'c++/src/H5Attribute.cpp')
-rw-r--r-- | c++/src/H5Attribute.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/c++/src/H5Attribute.cpp b/c++/src/H5Attribute.cpp index fa37059..feb946b 100644 --- a/c++/src/H5Attribute.cpp +++ b/c++/src/H5Attribute.cpp @@ -72,7 +72,7 @@ hid_t Attribute::p_getType() const return( type_id ); else { - throw AttributeIException(NULL, "H5Aget_type failed"); + throw AttributeIException(0, "H5Aget_type failed"); } } @@ -111,7 +111,7 @@ void Attribute::p_close() const herr_t ret_value = H5Aclose( id ); if( ret_value < 0 ) { - throw AttributeIException(NULL, "H5Aclose failed"); + throw AttributeIException(0, "H5Aclose failed"); } } |