summaryrefslogtreecommitdiffstats
path: root/c++/src/H5PredType.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'c++/src/H5PredType.cpp')
-rw-r--r--c++/src/H5PredType.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/c++/src/H5PredType.cpp b/c++/src/H5PredType.cpp
index 50f3f16..bb0b688 100644
--- a/c++/src/H5PredType.cpp
+++ b/c++/src/H5PredType.cpp
@@ -258,10 +258,8 @@ const PredType PredType::NATIVE_UINT_FAST64( H5T_NATIVE_UINT_FAST64 );
PredType& PredType::operator=( const PredType& rhs )
{
if (this != &rhs)
- {
copy(rhs);
- return(*this);
- }
+ return(*this);
}
#ifndef DOXYGEN_SHOULD_SKIP_THIS