diff options
Diffstat (limited to 'c++/src/H5Group.cpp')
-rw-r--r-- | c++/src/H5Group.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/c++/src/H5Group.cpp b/c++/src/H5Group.cpp index dd64082..afcc7eb 100644 --- a/c++/src/H5Group.cpp +++ b/c++/src/H5Group.cpp @@ -251,10 +251,8 @@ void Group::close() { throw GroupIException("Group::close", "H5Gclose failed"); } - // reset the id when the group that it represents is no longer - // referenced - if (getCounter() == 0) - id = 0; + // reset the id + id = 0; } } |