diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2014-04-18 02:39:50 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2014-04-18 02:39:50 (GMT) |
commit | 19125219cdc58a1668ff46e572126c1c3e7c4f0b (patch) | |
tree | 923145058c721f49025f7d3a800e56abbd2b5107 /c++/src/H5PredType.cpp | |
parent | 33fd0f8ce250c4c34c1259b21aa9aea716d6fefc (diff) | |
download | hdf5-19125219cdc58a1668ff46e572126c1c3e7c4f0b.zip hdf5-19125219cdc58a1668ff46e572126c1c3e7c4f0b.tar.gz hdf5-19125219cdc58a1668ff46e572126c1c3e7c4f0b.tar.bz2 |
[svn-r25062] Description:
Put back overloaded functions for backward compatibility:
- were replaced by better prototyped versions, such as Attribute::getNam.
- were modified to add const to constant arguments.
Added notes for future removal in documentation.
(Elena approved.) Merged from trunk r25061.
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 727a09d..6dbee98 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(const H5Location& loc, const char* name ) +void PredType::commit(H5Location& loc, const char* name ) { throw DataTypeIException("PredType::commit", "Error: Attempted to commit a predefined datatype. Invalid operation!" ); } -void PredType::commit(const H5Location& loc, const H5std_string& name ) +void PredType::commit(H5Location& loc, const H5std_string& name ) { commit( loc, name.c_str()); } |