diff options
Diffstat (limited to 'c++/src/H5DataSpace.cpp')
-rw-r--r-- | c++/src/H5DataSpace.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/c++/src/H5DataSpace.cpp b/c++/src/H5DataSpace.cpp index 42c31ec..69834f6 100644 --- a/c++/src/H5DataSpace.cpp +++ b/c++/src/H5DataSpace.cpp @@ -136,10 +136,8 @@ void DataSpace::copy( const DataSpace& like_space ) DataSpace& DataSpace::operator=( const DataSpace& rhs ) { if (this != &rhs) - { - copy(rhs); - return(*this); - } + copy(rhs); + return(*this); } //-------------------------------------------------------------------------- |