summaryrefslogtreecommitdiffstats
path: root/c++
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2002-04-26 12:09:17 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2002-04-26 12:09:17 (GMT)
commitbb07809e41dea410814dd1233ad6db3f2312dbde (patch)
tree0ce1d718d0b121778385ac7b105f80442c7fa45b /c++
parent7ab650be9fe7cddfed829737f2d5f313c678789e (diff)
downloadhdf5-bb07809e41dea410814dd1233ad6db3f2312dbde.zip
hdf5-bb07809e41dea410814dd1233ad6db3f2312dbde.tar.gz
hdf5-bb07809e41dea410814dd1233ad6db3f2312dbde.tar.bz2
[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)
Diffstat (limited to 'c++')
-rw-r--r--c++/src/H5File.cpp3
-rw-r--r--c++/src/H5File.h3
2 files changed, 6 insertions, 0 deletions
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 );