diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2014-04-12 03:54:25 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2014-04-12 03:54:25 (GMT) |
commit | 170b9d0eed23d84bfad64f216b8759b1dc40586c (patch) | |
tree | 261d2079cd91b85c4b82b3a5d1362ffcff913696 /c++/src/H5DataType.cpp | |
parent | 53a50fa7c8802f7f964ccf082b5fa8646cf61287 (diff) | |
download | hdf5-170b9d0eed23d84bfad64f216b8759b1dc40586c.zip hdf5-170b9d0eed23d84bfad64f216b8759b1dc40586c.tar.gz hdf5-170b9d0eed23d84bfad64f216b8759b1dc40586c.tar.bz2 |
[svn-r25029] Purpose: Fixed HDFFV-3384
Description:
- Added const to const arguments
- Fixed miscellaneous comments
(merged from trunk-24991)
Platforms tested:
Linux/ppc64 (ostrich)
Linux/32 2.6 (jam)
SunOS 5.11 (emu)
Diffstat (limited to 'c++/src/H5DataType.cpp')
-rw-r--r-- | c++/src/H5DataType.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/c++/src/H5DataType.cpp b/c++/src/H5DataType.cpp index c89210a..cfb5458 100644 --- a/c++/src/H5DataType.cpp +++ b/c++/src/H5DataType.cpp @@ -264,7 +264,7 @@ void DataType::p_commit(hid_t loc_id, const char* name) ///\exception H5::DataTypeIException // Programmer Binh-Minh Ribler - 2000 //-------------------------------------------------------------------------- -void DataType::commit(H5Location& loc, const char* name) +void DataType::commit(const H5Location& loc, const char* name) { p_commit(loc.getId(), name); } @@ -276,7 +276,7 @@ void DataType::commit(H5Location& loc, const char* name) /// argument \a name. // Programmer Binh-Minh Ribler - 2000 //-------------------------------------------------------------------------- -void DataType::commit(H5Location& loc, const H5std_string& name) +void DataType::commit(const H5Location& loc, const H5std_string& name) { p_commit(loc.getId(), name.c_str()); } |