summaryrefslogtreecommitdiffstats
path: root/c++/src/H5Group.cpp
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2015-04-03 19:10:39 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2015-04-03 19:10:39 (GMT)
commitaa13c0501d781ccbe83b19bc795e0c0241559789 (patch)
treedf91243000cdc309c6a81580d60130c131cfa395 /c++/src/H5Group.cpp
parent5f68d05f9f8d41890c32d999a75e5d917a77e2a3 (diff)
downloadhdf5-aa13c0501d781ccbe83b19bc795e0c0241559789.zip
hdf5-aa13c0501d781ccbe83b19bc795e0c0241559789.tar.gz
hdf5-aa13c0501d781ccbe83b19bc795e0c0241559789.tar.bz2
[svn-r26723] Purpose: Fixed warnings
Description: Fixed base classes that were in wrong order on the prototype lines and some misc. warnings. Parameter had the same name as the class' member's. Replaced parameter with a different name. Missing initializing one of the base classes in multiple inheritance. Added CommonFG() to constructors' prototype. Merged from trunk r26454, r26455, and r26456. Platforms tested: Linux/64 (platypus) Linux/32 2.6 (jam) SunOS 5.11 (emu)
Diffstat (limited to 'c++/src/H5Group.cpp')
-rw-r--r--c++/src/H5Group.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/c++/src/H5Group.cpp b/c++/src/H5Group.cpp
index 41e7fc6..b523f89 100644
--- a/c++/src/H5Group.cpp
+++ b/c++/src/H5Group.cpp
@@ -51,7 +51,7 @@ namespace H5 {
///\brief Default constructor: creates a stub Group.
// Programmer Binh-Minh Ribler - 2000
//--------------------------------------------------------------------------
-Group::Group() : H5Object(), id(H5I_INVALID_HID) {}
+Group::Group() : H5Object(), CommonFG(), id(H5I_INVALID_HID) {}
//--------------------------------------------------------------------------
// Function: Group copy constructor
@@ -59,7 +59,7 @@ Group::Group() : H5Object(), id(H5I_INVALID_HID) {}
///\param original - IN: Original group to copy
// Programmer Binh-Minh Ribler - 2000
//--------------------------------------------------------------------------
-Group::Group(const Group& original) : H5Object(original)
+Group::Group(const Group& original) : H5Object(), CommonFG()
{
id = original.getId();
incRefCount(); // increment number of references to this id
@@ -82,7 +82,7 @@ hid_t Group::getLocId() const
///\param existing_id - IN: Id of an existing group
// Programmer Binh-Minh Ribler - 2000
//--------------------------------------------------------------------------
-Group::Group(const hid_t existing_id) : H5Object()
+Group::Group(const hid_t existing_id) : H5Object(), CommonFG()
{
id = existing_id;
}