summaryrefslogtreecommitdiffstats
path: root/c++/src/H5DcreatProp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'c++/src/H5DcreatProp.cpp')
-rw-r--r--c++/src/H5DcreatProp.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/c++/src/H5DcreatProp.cpp b/c++/src/H5DcreatProp.cpp
index 22a8f28..efaf30d 100644
--- a/c++/src/H5DcreatProp.cpp
+++ b/c++/src/H5DcreatProp.cpp
@@ -126,13 +126,13 @@ void DSetCreatPropList::setFilter( H5Z_filter_t filter, unsigned int flags, size
}
// Removes one or more filters to the filter pipeline
-void DSetCreatPropList::deleteFilter( H5Z_filter_t filter) const
+void DSetCreatPropList::removeFilter( H5Z_filter_t filter) const
{
- herr_t ret_value = H5Pdelete_filter( id, filter);
+ herr_t ret_value = H5Premove_filter( id, filter);
if( ret_value < 0 )
{
- throw PropListIException("DSetCreatPropList::deleteFilter",
- "H5Pdelete_filter failed");
+ throw PropListIException("DSetCreatPropList::removeFilter",
+ "H5Premove_filter failed");
}
}