summaryrefslogtreecommitdiffstats
path: root/c++/src/H5PropList.cpp
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2016-03-07 15:42:30 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2016-03-07 15:42:30 (GMT)
commitb346cb0599da3b46f892365ad2ebd1e55ea173f3 (patch)
treea2c63f1639133b35138e171852118e2180d9c367 /c++/src/H5PropList.cpp
parent3247df1224d2f226a03144fb556b2a3435794871 (diff)
downloadhdf5-b346cb0599da3b46f892365ad2ebd1e55ea173f3.zip
hdf5-b346cb0599da3b46f892365ad2ebd1e55ea173f3.tar.gz
hdf5-b346cb0599da3b46f892365ad2ebd1e55ea173f3.tar.bz2
[svn-r29306] Purpose: Add function
Description: Added member function ArrayType::operator= because ArrayType has pointer data members. Platforms tested: Linux/32 2.6 (jam) Linux/64 (platypus) Darwin (osx1010test)
Diffstat (limited to 'c++/src/H5PropList.cpp')
-rw-r--r--c++/src/H5PropList.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/c++/src/H5PropList.cpp b/c++/src/H5PropList.cpp
index 807aa0a..81bb023 100644
--- a/c++/src/H5PropList.cpp
+++ b/c++/src/H5PropList.cpp
@@ -104,9 +104,8 @@ PropList::PropList() : IdComponent(), id(H5P_DEFAULT) {}
///\param original - IN: The original property list to copy
// Programmer Binh-Minh Ribler - 2000
//--------------------------------------------------------------------------
-PropList::PropList(const PropList& original) : IdComponent()
+PropList::PropList(const PropList& original) : IdComponent(), id(original.id)
{
- id = original.getId();
incRefCount(); // increment number of references to this id
}