diff --git a/c++/src/H5Attribute.cpp b/c++/src/H5Attribute.cpp index 4df96d46d77..2161b8112f2 100644 --- a/c++/src/H5Attribute.cpp +++ b/c++/src/H5Attribute.cpp @@ -607,7 +607,8 @@ Attribute::~Attribute() //-------------------------------------------------------------------------- // Function: Copy assignment operator -Attribute & Attribute::operator= (const Attribute &other) +Attribute & +Attribute::operator=(const Attribute &other) { if (&other != this) { } diff --git a/c++/src/H5Attribute.h b/c++/src/H5Attribute.h index f50281ea83f..1db91ec2980 100644 --- a/c++/src/H5Attribute.h +++ b/c++/src/H5Attribute.h @@ -79,7 +79,7 @@ class H5_DLLCPP Attribute : public AbstractDs, public H5Location { virtual ~Attribute() override; // Copy assignment operator. - Attribute & operator= (const Attribute &other); + Attribute &operator=(const Attribute &other); #ifndef DOXYGEN_SHOULD_SKIP_THIS protected: diff --git a/c++/src/H5Group.cpp b/c++/src/H5Group.cpp index 2c51f2c9ce5..fc143018e9d 100644 --- a/c++/src/H5Group.cpp +++ b/c++/src/H5Group.cpp @@ -276,7 +276,8 @@ Group::~Group() //-------------------------------------------------------------------------- // Function: Copy assignment operator -Group & Group::operator= (const Group &other) +Group & +Group::operator=(const Group &other) { if (&other != this) { } diff --git a/c++/src/H5Group.h b/c++/src/H5Group.h index 0a52f81adcd..20b3a1fd2f2 100644 --- a/c++/src/H5Group.h +++ b/c++/src/H5Group.h @@ -68,7 +68,7 @@ class H5_DLLCPP Group : public H5Object, public CommonFG { virtual ~Group() override; // Copy assignment operator. - Group & operator= (const Group &other); + Group &operator=(const Group &other); // Creates a copy of an existing group using its id. Group(const hid_t group_id);