From d388057d0dcaeefc9f87ad32fbd13e17133fd818 Mon Sep 17 00:00:00 2001 From: Binh-Minh Ribler Date: Sat, 29 Jan 2005 23:11:28 -0500 Subject: [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. --- c++/src/H5PredType.h | 6 +++--- 1 file 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 }; -- cgit v0.12