diff options
author | Sean McBride <sean@rogue-research.com> | 2021-04-21 03:10:04 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-21 03:10:04 (GMT) |
commit | 99d5505ad1129fcad29c6c28bc689fe6bcf3b778 (patch) | |
tree | 1123289c72ab7e22b2a85d0dab71d0d67cc164ed /c++/src/H5DataType.h | |
parent | 9a8b91eb30156738a8ba382add78f1721d7eb6cf (diff) | |
download | hdf5-99d5505ad1129fcad29c6c28bc689fe6bcf3b778.zip hdf5-99d5505ad1129fcad29c6c28bc689fe6bcf3b778.tar.gz hdf5-99d5505ad1129fcad29c6c28bc689fe6bcf3b778.tar.bz2 |
Added more C++11 override keywords (#485)
* Added more C++11 override keywords
* Format updates in src/H5Tconv.c.
* Committing clang-format changes
Co-authored-by: Larry Knox <lrknox@hdfgroup.org>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'c++/src/H5DataType.h')
-rw-r--r-- | c++/src/H5DataType.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/c++/src/H5DataType.h b/c++/src/H5DataType.h index 49f5348..7dd371b 100644 --- a/c++/src/H5DataType.h +++ b/c++/src/H5DataType.h @@ -47,7 +47,7 @@ class H5_DLLCPP DataType : public H5Object { // PropList& plist = PropList::DEFAULT); // Closes this datatype. - virtual void close(); + virtual void close() H5_OVERRIDE; // Copies an existing datatype to this datatype object. void copy(const DataType &like_type); @@ -133,7 +133,7 @@ class H5_DLLCPP DataType : public H5Object { ///\brief Returns this class name. virtual H5std_string - fromClass() const + fromClass() const H5_OVERRIDE { return ("DataType"); } @@ -148,10 +148,10 @@ class H5_DLLCPP DataType : public H5Object { bool hasBinaryDesc() const; // Gets the datatype id. - virtual hid_t getId() const; + virtual hid_t getId() const H5_OVERRIDE; // Destructor: properly terminates access to this datatype. - virtual ~DataType(); + virtual ~DataType() H5_OVERRIDE; protected: #ifndef DOXYGEN_SHOULD_SKIP_THIS @@ -162,7 +162,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); + virtual void p_setId(const hid_t new_id) H5_OVERRIDE; // Opens a datatype and returns the id. hid_t p_opentype(const H5Location &loc, const char *dtype_name) const; |