summaryrefslogtreecommitdiffstats
path: root/hl/c++
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2021-04-19 21:51:18 (GMT)
committerGitHub <noreply@github.com>2021-04-19 21:51:18 (GMT)
commitd3384b2e8e5fafd9f3aa90e738ca18d5ddeeb3c1 (patch)
tree20fd24fe7c410027a17dac3907e6d289d34b365d /hl/c++
parentb2c78e15cf2e78221c0f04fa47107f9ce94393fe (diff)
downloadhdf5-d3384b2e8e5fafd9f3aa90e738ca18d5ddeeb3c1.zip
hdf5-d3384b2e8e5fafd9f3aa90e738ca18d5ddeeb3c1.tar.gz
hdf5-d3384b2e8e5fafd9f3aa90e738ca18d5ddeeb3c1.tar.bz2
Fixes incorrect usage of H5I_BADID (#554)
* Committing clang-format changes * Fixes incorrect use of H5I_BADID Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'hl/c++')
-rw-r--r--hl/c++/src/H5PacketTable.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hl/c++/src/H5PacketTable.h b/hl/c++/src/H5PacketTable.h
index a73b4c9..acd0ccf 100644
--- a/hl/c++/src/H5PacketTable.h
+++ b/hl/c++/src/H5PacketTable.h
@@ -35,7 +35,7 @@ class H5_HLCPPDLL PacketTable {
*/
PacketTable()
{
- table_id = H5I_BADID;
+ table_id = H5I_INVALID_HID;
}
/* "Open" Constructor