summaryrefslogtreecommitdiffstats
path: root/c++/src/H5DataType.h
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2016-08-12 08:06:35 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2016-08-12 08:06:35 (GMT)
commitb8a08e043ec8c3a37ace521314063df6f14e894a (patch)
treee3e86741e2057df18f054bf0abe2008532242daa /c++/src/H5DataType.h
parent6dec81e7ac7edacf524a8f4dbb125d4fe40f3dc0 (diff)
downloadhdf5-b8a08e043ec8c3a37ace521314063df6f14e894a.zip
hdf5-b8a08e043ec8c3a37ace521314063df6f14e894a.tar.gz
hdf5-b8a08e043ec8c3a37ace521314063df6f14e894a.tar.bz2
[svn-r30280] Purpose: Code improvement (HDFFR-9725)
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. - Removed deprecated functions in previous releases due to missing const. Merged from trunk: 30272 and 30279 Platforms tested: Linux/32 2.6 (jam) Linux/64 (platypus) Darwin (osx1010test)
Diffstat (limited to 'c++/src/H5DataType.h')
-rw-r--r--c++/src/H5DataType.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/c++/src/H5DataType.h b/c++/src/H5DataType.h
index 69f59b1..7dd25ac 100644
--- a/c++/src/H5DataType.h
+++ b/c++/src/H5DataType.h
@@ -63,9 +63,9 @@ class H5_DLLCPP DataType : public H5Object {
void commit(const H5Location& loc, const char* name);
void commit(const H5Location& loc, const H5std_string& name);
// These two overloaded functions are kept for backward compatibility
- // only; they missed the const.
- void commit(H5Location& loc, const char* name);
- void commit(H5Location& loc, const H5std_string& name);
+ // only; they missed the const - removed from 1.8.18 and 1.10.1
+ //void commit(H5Location& loc, const char* name);
+ //void commit(H5Location& loc, const H5std_string& name);
// Determines whether this datatype is a named datatype or
// a transient datatype.