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/H5PredType.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/H5PredType.cpp')
-rw-r--r-- | c++/src/H5PredType.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/c++/src/H5PredType.cpp b/c++/src/H5PredType.cpp index 6dbee98..727a09d 100644 --- a/c++/src/H5PredType.cpp +++ b/c++/src/H5PredType.cpp @@ -272,12 +272,12 @@ PredType& PredType::operator=( const PredType& rhs ) #ifndef DOXYGEN_SHOULD_SKIP_THIS // These dummy functions do not inherit from DataType - they'll // throw an DataTypeIException if invoked. -void PredType::commit(H5Location& loc, const char* name ) +void PredType::commit(const H5Location& loc, const char* name ) { throw DataTypeIException("PredType::commit", "Error: Attempted to commit a predefined datatype. Invalid operation!" ); } -void PredType::commit(H5Location& loc, const H5std_string& name ) +void PredType::commit(const H5Location& loc, const H5std_string& name ) { commit( loc, name.c_str()); } |