summaryrefslogtreecommitdiffstats
path: root/c++/src/H5ArrayType.h
diff options
context:
space:
mode:
Diffstat (limited to 'c++/src/H5ArrayType.h')
-rw-r--r--c++/src/H5ArrayType.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/c++/src/H5ArrayType.h b/c++/src/H5ArrayType.h
index fb5eb2e..3f1ddc5 100644
--- a/c++/src/H5ArrayType.h
+++ b/c++/src/H5ArrayType.h
@@ -37,6 +37,9 @@ class H5_DLLCPP ArrayType : public DataType {
// Copy constructor: makes copy of the original object.
ArrayType( const ArrayType& original );
+ // Constructor that takes an existing id
+ ArrayType( const hid_t existing_id );
+
// Noop destructor
virtual ~ArrayType();
@@ -44,9 +47,6 @@ class H5_DLLCPP ArrayType : public DataType {
// Default constructor
ArrayType();
- // Constructor that takes an existing id
- ArrayType( const hid_t existing_id );
-
private:
int rank; // Rank of the array
hsize_t* dimensions; // Sizes of the array dimensions