summaryrefslogtreecommitdiffstats
path: root/c++/src/H5PropList.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/H5PropList.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/H5PropList.h')
-rw-r--r--c++/src/H5PropList.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/c++/src/H5PropList.h b/c++/src/H5PropList.h
index 2df326b..5320699 100644
--- a/c++/src/H5PropList.h
+++ b/c++/src/H5PropList.h
@@ -38,7 +38,7 @@ class H5_DLLCPP PropList : public IdComponent {
bool operator==(const PropList &rhs) const;
// Close this property list.
- virtual void close() H5_OVERRIDE;
+ virtual void close() override;
// Close a property list class.
void closeClass() const;
@@ -102,7 +102,7 @@ class H5_DLLCPP PropList : public IdComponent {
///\brief Returns this class name.
virtual H5std_string
- fromClass() const H5_OVERRIDE
+ fromClass() const override
{
return ("PropList");
}
@@ -114,10 +114,10 @@ class H5_DLLCPP PropList : public IdComponent {
PropList(const PropList &original);
// Gets the property list id.
- virtual hid_t getId() const H5_OVERRIDE;
+ virtual hid_t getId() const override;
// Destructor: properly terminates access to this property list.
- virtual ~PropList() H5_OVERRIDE;
+ virtual ~PropList() override;
#ifndef DOXYGEN_SHOULD_SKIP_THIS
@@ -128,7 +128,7 @@ class H5_DLLCPP PropList : public IdComponent {
hid_t id; // HDF5 property list id
// Sets the property list id.
- virtual void p_setId(const hid_t new_id) H5_OVERRIDE;
+ virtual void p_setId(const hid_t new_id) override;
private:
static PropList *DEFAULT_;