[svn-r7740] Purpose:

Minor bug fix

Description:
    Added missing "const" to the first parameter in two functions:
    DSetCreatPropList::set/getFillValue

Platforms:
    Only effected C++ API
    SunOS 5.8 (sol)
    Linux 2.4 (eirene)
This commit is contained in:
Binh-Minh Ribler
2003-10-26 13:52:08 -05:00
parent 035991e5c0
commit 35fe60a237
2 changed files with 4 additions and 4 deletions

View File

@@ -93,7 +93,7 @@ void DSetCreatPropList::setDeflate( int level ) const
}
// Sets a dataset fill value
void DSetCreatPropList::setFillValue( DataType& fvalue_type, const void* value ) const
void DSetCreatPropList::setFillValue( const DataType& fvalue_type, const void* value ) const
{
herr_t ret_value = H5Pset_fill_value( id, fvalue_type.getId(), value );
if( ret_value < 0 )
@@ -104,7 +104,7 @@ void DSetCreatPropList::setFillValue( DataType& fvalue_type, const void* value )
}
// Retrieves a dataset fill value
void DSetCreatPropList::getFillValue( DataType& fvalue_type, void* value ) const
void DSetCreatPropList::getFillValue( const DataType& fvalue_type, void* value ) const
{
herr_t ret_value = H5Pget_fill_value( id, fvalue_type.getId(), value );
if( ret_value < 0 )