Moves H5PacketTable default ctor inside source file (#731)

This commit is contained in:
Dana Robinson 2021-06-05 21:00:30 -07:00 committed by GitHub
parent ce5f1ff1c5
commit 9ebe55b34c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 5 deletions

View File

@ -45,7 +45,7 @@ LIBH5CPP_HL=$(top_builddir)/hl/c++/src/libhdf5_hl_cpp.la
docdir = $(exec_prefix)/doc
# Note that in svn revision 19400 the '/' after DESTDIR in H5* variables below
# has been removed. According to the official description of DESTDIR by Gnu at
# has been removed. According to the official description of DESTDIR by GNU at
# http://www.gnu.org/prep/standards/html_node/DESTDIR.html, DESTDIR is
# prepended to the normal and complete install path that it precedes for the
# purpose of installing in a temporary directory which is useful for building

View File

@ -28,6 +28,13 @@
/* PacketTable superclass */
/********************************/
/* Null constructor
* Sets table_id to "invalid"
*/
PacketTable::PacketTable() : table_id{H5I_INVALID_HID}
{
}
/* "Open" Constructor
* Opens an existing packet table, which can contain either fixed-length or
* variable-length packets.

View File

@ -31,11 +31,9 @@
class H5_HLCPPDLL PacketTable {
public:
/* Null constructor
* Sets table_id to "invalid"
* Sets table_id to H5I_INVALID_HID
*/
PacketTable() : table_id{H5I_INVALID_HID}
{
}
PacketTable();
/* "Open" Constructor
* Opens an existing packet table, which can contain either fixed-length or