summaryrefslogtreecommitdiffstats
path: root/c++/src/H5StrType.h
diff options
context:
space:
mode:
authorSean McBride <sean@rogue-research.com>2021-04-21 03:10:04 (GMT)
committerGitHub <noreply@github.com>2021-04-21 03:10:04 (GMT)
commit99d5505ad1129fcad29c6c28bc689fe6bcf3b778 (patch)
tree1123289c72ab7e22b2a85d0dab71d0d67cc164ed /c++/src/H5StrType.h
parent9a8b91eb30156738a8ba382add78f1721d7eb6cf (diff)
downloadhdf5-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/H5StrType.h')
-rw-r--r--c++/src/H5StrType.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/c++/src/H5StrType.h b/c++/src/H5StrType.h
index d272c53..3e4013a 100644
--- a/c++/src/H5StrType.h
+++ b/c++/src/H5StrType.h
@@ -42,7 +42,7 @@ class H5_DLLCPP StrType : public AtomType {
// Returns an StrType object via DataType* by decoding the
// binary object description of this type.
- virtual DataType *decode() const;
+ virtual DataType *decode() const H5_OVERRIDE;
// Retrieves the character set type of this string datatype.
H5T_cset_t getCset() const;
@@ -58,7 +58,7 @@ class H5_DLLCPP StrType : public AtomType {
///\brief Returns this class name.
virtual H5std_string
- fromClass() const
+ fromClass() const H5_OVERRIDE
{
return ("StrType");
}
@@ -73,7 +73,7 @@ class H5_DLLCPP StrType : public AtomType {
StrType(const StrType &original);
// Noop destructor.
- virtual ~StrType();
+ virtual ~StrType() H5_OVERRIDE;
}; // end of StrType
} // namespace H5