summaryrefslogtreecommitdiffstats
path: root/c++/src/H5DataType.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/H5DataType.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/H5DataType.h')
-rw-r--r--c++/src/H5DataType.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/c++/src/H5DataType.h b/c++/src/H5DataType.h
index d696455..7442edc 100644
--- a/c++/src/H5DataType.h
+++ b/c++/src/H5DataType.h
@@ -50,7 +50,7 @@ class H5_DLLCPP DataType : public H5Object {
// PropList& plist = PropList::DEFAULT);
// Closes this datatype.
- virtual void close() H5_OVERRIDE;
+ virtual void close() override;
// Copies an existing datatype to this datatype object.
void copy(const DataType &like_type);
@@ -136,7 +136,7 @@ class H5_DLLCPP DataType : public H5Object {
///\brief Returns this class name.
virtual H5std_string
- fromClass() const H5_OVERRIDE
+ fromClass() const override
{
return ("DataType");
}
@@ -151,10 +151,10 @@ class H5_DLLCPP DataType : public H5Object {
bool hasBinaryDesc() const;
// Gets the datatype id.
- virtual hid_t getId() const H5_OVERRIDE;
+ virtual hid_t getId() const override;
// Destructor: properly terminates access to this datatype.
- virtual ~DataType() H5_OVERRIDE;
+ virtual ~DataType() override;
protected:
#ifndef DOXYGEN_SHOULD_SKIP_THIS
@@ -165,7 +165,7 @@ class H5_DLLCPP DataType : public H5Object {
hid_t p_decode() const;
// Sets the datatype id.
- virtual void p_setId(const hid_t new_id) H5_OVERRIDE;
+ virtual void p_setId(const hid_t new_id) override;
// Opens a datatype and returns the id.
hid_t p_opentype(const H5Location &loc, const char *dtype_name) const;