diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2021-06-23 03:25:51 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-23 03:25:51 (GMT) |
commit | a1d128597ffc341d214b0f3e3c7e607d53475e88 (patch) | |
tree | 6ca23f370a109edbda0d203a6f4a56ddd9269e8f /c++/src/H5Group.h | |
parent | 9f5b16bccb09be387187a806d01b582a6b20e991 (diff) | |
download | hdf5-a1d128597ffc341d214b0f3e3c7e607d53475e88.zip hdf5-a1d128597ffc341d214b0f3e3c7e607d53475e88.tar.gz hdf5-a1d128597ffc341d214b0f3e3c7e607d53475e88.tar.bz2 |
Replaces the H5_OVERRIDE macro with override (#773)
The macro is no longer necessary now that we require C++11.
Diffstat (limited to 'c++/src/H5Group.h')
-rw-r--r-- | c++/src/H5Group.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/c++/src/H5Group.h b/c++/src/H5Group.h index b5f7e51..e72d65c 100644 --- a/c++/src/H5Group.h +++ b/c++/src/H5Group.h @@ -24,20 +24,20 @@ namespace H5 { class H5_DLLCPP Group : public H5Object, public CommonFG { public: // Close this group. - virtual void close() H5_OVERRIDE; + virtual void close() override; ///\brief Returns this class name. virtual H5std_string - fromClass() const H5_OVERRIDE + fromClass() const override { return ("Group"); } // Throw group exception. - virtual void throwException(const H5std_string &func_name, const H5std_string &msg) const H5_OVERRIDE; + virtual void throwException(const H5std_string &func_name, const H5std_string &msg) const override; // for CommonFG to get the file id. - virtual hid_t getLocId() const H5_OVERRIDE; + virtual hid_t getLocId() const override; // Creates a group by way of dereference. Group(const H5Location &loc, const void *ref, H5R_type_t ref_type = H5R_OBJECT, @@ -63,10 +63,10 @@ class H5_DLLCPP Group : public H5Object, public CommonFG { Group(const Group &original); // Gets the group id. - virtual hid_t getId() const H5_OVERRIDE; + virtual hid_t getId() const override; // Destructor - virtual ~Group() H5_OVERRIDE; + virtual ~Group() override; // Creates a copy of an existing group using its id. Group(const hid_t group_id); @@ -74,7 +74,7 @@ class H5_DLLCPP Group : public H5Object, public CommonFG { protected: #ifndef DOXYGEN_SHOULD_SKIP_THIS // Sets the group id. - virtual void p_setId(const hid_t new_id) H5_OVERRIDE; + virtual void p_setId(const hid_t new_id) override; #endif // DOXYGEN_SHOULD_SKIP_THIS private: |