diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2016-08-09 05:29:50 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2016-08-09 05:29:50 (GMT) |
commit | b3017997a8044daf273bf2e8084cc172e666830e (patch) | |
tree | 21bcef51d822cfbe061e44ece47de8c807691225 /c++/src/H5Object.h | |
parent | 7de719287a6449cec0eab1e381d9a90f2ac8b8d1 (diff) | |
download | hdf5-b3017997a8044daf273bf2e8084cc172e666830e.zip hdf5-b3017997a8044daf273bf2e8084cc172e666830e.tar.gz hdf5-b3017997a8044daf273bf2e8084cc172e666830e.tar.bz2 |
[svn-r30272] Purpose: Code improvement
Description:
- Added "const" to arguments that should be const
- Added "const" to const functions, i.e., function that don't change
the objects they operate on.
Platforms tested:
Linux/32 2.6 (jam)
Linux/64 (platypus)
Darwin (osx1010test)
Diffstat (limited to 'c++/src/H5Object.h')
-rw-r--r-- | c++/src/H5Object.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c++/src/H5Object.h b/c++/src/H5Object.h index f8ac792..193e5d1 100644 --- a/c++/src/H5Object.h +++ b/c++/src/H5Object.h @@ -48,7 +48,7 @@ class H5_DLLCPP H5Object : public H5Location { public: #ifndef DOXYGEN_SHOULD_SKIP_THIS // Gets the name of this HDF5 object, i.e., Group, DataSet, or - // DataType. + // DataType. These should have const but are retiring anyway. ssize_t getObjName(char *obj_name, size_t buf_size = 0) const; ssize_t getObjName(H5std_string& obj_name, size_t len = 0) const; H5std_string getObjName() const; |