summaryrefslogtreecommitdiffstats
path: root/c++/src/H5File.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/H5File.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/H5File.h')
-rw-r--r--c++/src/H5File.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/c++/src/H5File.h b/c++/src/H5File.h
index bdd7b84..daed073 100644
--- a/c++/src/H5File.h
+++ b/c++/src/H5File.h
@@ -39,7 +39,7 @@ class H5_DLLCPP H5File : public Group {
const FileAccPropList &access_plist = FileAccPropList::DEFAULT);
// Close this file.
- virtual void close() H5_OVERRIDE;
+ virtual void close() override;
// Gets a copy of the access property list of this file.
FileAccPropList getAccessPlist() const;
@@ -96,16 +96,16 @@ class H5_DLLCPP H5File : public Group {
///\brief Returns this class name.
virtual H5std_string
- fromClass() const H5_OVERRIDE
+ fromClass() const override
{
return ("H5File");
}
// Throw file exception.
- virtual void throwException(const H5std_string &func_name, const H5std_string &msg) const H5_OVERRIDE;
+ virtual void throwException(const H5std_string &func_name, const H5std_string &msg) const override;
// For CommonFG to get the file id.
- virtual hid_t getLocId() const H5_OVERRIDE;
+ virtual hid_t getLocId() const override;
// Default constructor
H5File();
@@ -114,15 +114,15 @@ class H5_DLLCPP H5File : public Group {
H5File(const H5File &original);
// Gets the HDF5 file id.
- virtual hid_t getId() const H5_OVERRIDE;
+ virtual hid_t getId() const override;
// H5File destructor.
- virtual ~H5File() H5_OVERRIDE;
+ virtual ~H5File() override;
protected:
#ifndef DOXYGEN_SHOULD_SKIP_THIS
// Sets the HDF5 file id.
- virtual void p_setId(const hid_t new_id) H5_OVERRIDE;
+ virtual void p_setId(const hid_t new_id) override;
#endif // DOXYGEN_SHOULD_SKIP_THIS
private: