diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2021-04-05 22:59:36 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2021-04-05 22:59:36 (GMT) |
commit | 0c6ff43fbccaf78196165db6660a30d37944ea78 (patch) | |
tree | 8d7ffb1fade3e8834a8480143b62b567c6611827 /c++/src/H5Object.h | |
parent | 4402e696e43e4428a37953edbfd67c448ba93ac1 (diff) | |
download | hdf5-0c6ff43fbccaf78196165db6660a30d37944ea78.zip hdf5-0c6ff43fbccaf78196165db6660a30d37944ea78.tar.gz hdf5-0c6ff43fbccaf78196165db6660a30d37944ea78.tar.bz2 |
Normalizes C++ with develop
Diffstat (limited to 'c++/src/H5Object.h')
-rw-r--r-- | c++/src/H5Object.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/c++/src/H5Object.h b/c++/src/H5Object.h index 7ba57ed..bc2f14a 100644 --- a/c++/src/H5Object.h +++ b/c++/src/H5Object.h @@ -12,8 +12,8 @@ * help@hdfgroup.org. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ -#ifndef __H5Object_H -#define __H5Object_H +#ifndef H5Object_H +#define H5Object_H namespace H5 { @@ -106,7 +106,7 @@ class H5_DLLCPP H5Object : public H5Location { void removeAttr(const H5std_string &name) const; // Returns an identifier. - virtual hid_t getId() const = 0; + virtual hid_t getId() const H5_OVERRIDE = 0; // Gets the name of this HDF5 object, i.e., Group, DataSet, or // DataType. @@ -122,14 +122,14 @@ class H5_DLLCPP H5Object : public H5Location { // Sets the identifier of this object to a new value. - this one // doesn't increment reference count - virtual void p_setId(const hid_t new_id) = 0; + virtual void p_setId(const hid_t new_id) H5_OVERRIDE = 0; // Noop destructor. - virtual ~H5Object(); + virtual ~H5Object() H5_OVERRIDE; #endif // DOXYGEN_SHOULD_SKIP_THIS }; // end of H5Object } // namespace H5 -#endif // __H5Object_H +#endif // H5Object_H |