summaryrefslogtreecommitdiffstats
path: root/c++/src/H5EnumType.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/H5EnumType.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/H5EnumType.h')
-rw-r--r--c++/src/H5EnumType.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/c++/src/H5EnumType.h b/c++/src/H5EnumType.h
index 2501e4b..f9091ca 100644
--- a/c++/src/H5EnumType.h
+++ b/c++/src/H5EnumType.h
@@ -41,7 +41,7 @@ class H5_DLLCPP EnumType : public DataType {
// Returns an EnumType object via DataType* by decoding the
// binary object description of this type.
- virtual DataType *decode() const H5_OVERRIDE;
+ virtual DataType *decode() const override;
// Returns the number of members in this enumeration datatype.
int getNmembers() const;
@@ -68,7 +68,7 @@ class H5_DLLCPP EnumType : public DataType {
///\brief Returns this class name.
virtual H5std_string
- fromClass() const H5_OVERRIDE
+ fromClass() const override
{
return ("EnumType");
}
@@ -82,7 +82,7 @@ class H5_DLLCPP EnumType : public DataType {
// Copy constructor: same as the original EnumType.
EnumType(const EnumType &original);
- virtual ~EnumType() H5_OVERRIDE;
+ virtual ~EnumType() override;
}; // end of EnumType
} // namespace H5