diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2005-10-12 07:36:33 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2005-10-12 07:36:33 (GMT) |
commit | c02f0675589d12c331302e9c7a38d9b194f05417 (patch) | |
tree | b43cbc3f23b1b5f87ef4e8a3485b23921a7a1713 /c++/src/H5PropList.cpp | |
parent | e2cf3a6b1a1c45471fce6c2d5d3a97d92103c714 (diff) | |
download | hdf5-c02f0675589d12c331302e9c7a38d9b194f05417.zip hdf5-c02f0675589d12c331302e9c7a38d9b194f05417.tar.gz hdf5-c02f0675589d12c331302e9c7a38d9b194f05417.tar.bz2 |
[svn-r11555] Purpose: Code cleanup
Description:
Removed obsolete function CompType::getMemberDims.
Fixed some typos.
Platforms tested:
Linux 2.4 (heping)
SunOS 5.8 64-bit (sol)
Diffstat (limited to 'c++/src/H5PropList.cpp')
-rw-r--r-- | c++/src/H5PropList.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c++/src/H5PropList.cpp b/c++/src/H5PropList.cpp index 9e8c3f6..8a92f6d 100644 --- a/c++/src/H5PropList.cpp +++ b/c++/src/H5PropList.cpp @@ -606,7 +606,7 @@ bool PropList::operator==(const PropList& rhs) const PropList PropList::getClassParent() const { hid_t class_id = H5Pget_class_parent(id); - if (class_id <= 0) + if (class_id < 0) { throw PropListIException(inMemFunc("getClassParent"), "H5Pget_class_parent failed"); } |