From bb07809e41dea410814dd1233ad6db3f2312dbde Mon Sep 17 00:00:00 2001 From: Binh-Minh Ribler Date: Fri, 26 Apr 2002 07:09:17 -0500 Subject: [svn-r5270] Purpose: bug fix Description: The default constructor of H5File was missing. It's now added. Platforms: SunOS 5.7 (arabica) Linux 6.2 (eirene) IRIX 6.5.11 (modi4) --- c++/src/H5File.cpp | 3 +++ c++/src/H5File.h | 3 +++ 2 files changed, 6 insertions(+) diff --git a/c++/src/H5File.cpp b/c++/src/H5File.cpp index 4b92806..116ba67 100644 --- a/c++/src/H5File.cpp +++ b/c++/src/H5File.cpp @@ -23,6 +23,9 @@ namespace H5 { #endif +// Default constructor +H5File::H5File() : IdComponent() {} + // Creates or opens an HDF5 file depending on the parameter flags. H5File::H5File( const string& name, unsigned int flags, const FileCreatPropList& create_plist, const FileAccPropList& access_plist ) : IdComponent() { diff --git a/c++/src/H5File.h b/c++/src/H5File.h index 8e5d46a..ee7017f 100644 --- a/c++/src/H5File.h +++ b/c++/src/H5File.h @@ -8,6 +8,9 @@ namespace H5 { class __DLLCPP__ H5File : public IdComponent, public CommonFG { public: + // Default constructor + H5File(); + // copy constructor: makes a copy of the original H5File object. H5File(const H5File& original ); -- cgit v0.12