summaryrefslogtreecommitdiffstats
path: root/c++/src/H5PropList.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'c++/src/H5PropList.cpp')
-rw-r--r--c++/src/H5PropList.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/c++/src/H5PropList.cpp b/c++/src/H5PropList.cpp
index 8609b60..2da84e9 100644
--- a/c++/src/H5PropList.cpp
+++ b/c++/src/H5PropList.cpp
@@ -64,6 +64,14 @@ void PropList::copy( const PropList& like_plist )
}
}
+// Makes a copy of the property list on the right hand side and stores
+// the new id in the left hand side object.
+PropList& PropList::operator=( const PropList& rhs )
+{
+ copy(rhs);
+ return(*this);
+}
+
// Closes the property list if it is not a default one
void PropList::p_close() const
{