summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--c++/src/H5DcreatProp.cpp3
-rw-r--r--c++/src/H5DcreatProp.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/c++/src/H5DcreatProp.cpp b/c++/src/H5DcreatProp.cpp
index 4f3d2e4..a323f72 100644
--- a/c++/src/H5DcreatProp.cpp
+++ b/c++/src/H5DcreatProp.cpp
@@ -15,6 +15,9 @@ namespace H5 {
const DSetCreatPropList DSetCreatPropList::DEFAULT( H5P_DEFAULT );
+// Creates a dataset creation property list
+DSetCreatPropList::DSetCreatPropList() : PropList( H5P_DATASET_CREATE) {}
+
// Copy constructor: makes a copy of the original DSetCreatPropList object;
DSetCreatPropList::DSetCreatPropList( const DSetCreatPropList& orig ) : PropList( orig ) {}
diff --git a/c++/src/H5DcreatProp.h b/c++/src/H5DcreatProp.h
index 1c164b1..759c6ce 100644
--- a/c++/src/H5DcreatProp.h
+++ b/c++/src/H5DcreatProp.h
@@ -11,7 +11,7 @@ class __DLLCPP__ DSetCreatPropList : public PropList {
static const DSetCreatPropList DEFAULT;
// Creates a dataset creation property list
- DSetCreatPropList() : PropList( H5P_DATASET_CREATE) {}
+ DSetCreatPropList();
// Copy constructor: creates a copy of a DSetCreatPropList object;
// often used by the compiler when passing by value occurs.