summaryrefslogtreecommitdiffstats
path: root/c++
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2005-01-30 04:11:28 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2005-01-30 04:11:28 (GMT)
commitd388057d0dcaeefc9f87ad32fbd13e17133fd818 (patch)
tree1ccff9e4554022ed26e848e5ea70411696ee8105 /c++
parentc078598b6ea90d7a3e012b023e016bdeee2c0f8d (diff)
downloadhdf5-d388057d0dcaeefc9f87ad32fbd13e17133fd818.zip
hdf5-d388057d0dcaeefc9f87ad32fbd13e17133fd818.tar.gz
hdf5-d388057d0dcaeefc9f87ad32fbd13e17133fd818.tar.bz2
[svn-r9888] Purpose: Fixed bug
Description: H5PredType copy constructor was made "protected" accidentally. Solution: Moved it back into "public" section. Platforms tested: Linux 2.4 (eirene) Very minor and already tested on two platforms in 1.6 branch.
Diffstat (limited to 'c++')
-rw-r--r--c++/src/H5PredType.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/c++/src/H5PredType.h b/c++/src/H5PredType.h
index d75cdcc..7742c90 100644
--- a/c++/src/H5PredType.h
+++ b/c++/src/H5PredType.h
@@ -31,6 +31,9 @@ class H5_DLLCPP PredType : public AtomType {
// id in the left hand side object.
PredType& operator=( const PredType& rhs );
+ // Copy constructor - makes copy of the original object
+ PredType( const PredType& original );
+
// Returns the HDF5 predefined type id.
virtual hid_t getId() const;
@@ -244,9 +247,6 @@ class H5_DLLCPP PredType : public AtomType {
// Creates a pre-defined type using an HDF5 pre-defined constant
PredType( const hid_t predtype_id ); // used by the library only
- // Copy constructor - makes copy of the original object
- PredType( const PredType& original );
-
#endif // DOXYGEN_SHOULD_SKIP_THIS
};