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/H5Object.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/H5Object.h')
-rw-r--r-- | c++/src/H5Object.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/c++/src/H5Object.h b/c++/src/H5Object.h index bc2f14a..9e5a541 100644 --- a/c++/src/H5Object.h +++ b/c++/src/H5Object.h @@ -106,7 +106,7 @@ class H5_DLLCPP H5Object : public H5Location { void removeAttr(const H5std_string &name) const; // Returns an identifier. - virtual hid_t getId() const H5_OVERRIDE = 0; + virtual hid_t getId() const override = 0; // Gets the name of this HDF5 object, i.e., Group, DataSet, or // DataType. @@ -122,10 +122,10 @@ class H5_DLLCPP H5Object : public H5Location { // Sets the identifier of this object to a new value. - this one // doesn't increment reference count - virtual void p_setId(const hid_t new_id) H5_OVERRIDE = 0; + virtual void p_setId(const hid_t new_id) override = 0; // Noop destructor. - virtual ~H5Object() H5_OVERRIDE; + virtual ~H5Object() override; #endif // DOXYGEN_SHOULD_SKIP_THIS |