summaryrefslogtreecommitdiffstats
path: root/c++/src/H5DataSpace.h
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2021-06-23 03:25:51 (GMT)
committerGitHub <noreply@github.com>2021-06-23 03:25:51 (GMT)
commita1d128597ffc341d214b0f3e3c7e607d53475e88 (patch)
tree6ca23f370a109edbda0d203a6f4a56ddd9269e8f /c++/src/H5DataSpace.h
parent9f5b16bccb09be387187a806d01b582a6b20e991 (diff)
downloadhdf5-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/H5DataSpace.h')
-rw-r--r--c++/src/H5DataSpace.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/c++/src/H5DataSpace.h b/c++/src/H5DataSpace.h
index 5583baa..87852a2 100644
--- a/c++/src/H5DataSpace.h
+++ b/c++/src/H5DataSpace.h
@@ -43,7 +43,7 @@ class H5_DLLCPP DataSpace : public IdComponent {
DataSpace &operator=(const DataSpace &rhs);
// Closes this dataspace.
- virtual void close() H5_OVERRIDE;
+ virtual void close() override;
// Makes copy of an existing dataspace.
void copy(const DataSpace &like_space);
@@ -115,25 +115,25 @@ class H5_DLLCPP DataSpace : public IdComponent {
///\brief Returns this class name.
virtual H5std_string
- fromClass() const H5_OVERRIDE
+ fromClass() const override
{
return ("DataSpace");
}
// Gets the dataspace id.
- virtual hid_t getId() const H5_OVERRIDE;
+ virtual hid_t getId() const override;
// Deletes the global constant
static void deleteConstants();
// Destructor: properly terminates access to this dataspace.
- virtual ~DataSpace() H5_OVERRIDE;
+ virtual ~DataSpace() override;
#ifndef DOXYGEN_SHOULD_SKIP_THIS
protected:
// Sets the dataspace 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