summaryrefslogtreecommitdiffstats
path: root/c++/src/H5DxferProp.cpp
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2001-12-06 19:05:12 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2001-12-06 19:05:12 (GMT)
commit7a30de3a2bf48a81dcf7679782ba4e247bd8991e (patch)
treebf62d63e3303453ed60f8bca611f8ad56b37fedd /c++/src/H5DxferProp.cpp
parent1b67380c0abcf87ae05f8661647dacd75858b50e (diff)
downloadhdf5-7a30de3a2bf48a81dcf7679782ba4e247bd8991e.zip
hdf5-7a30de3a2bf48a81dcf7679782ba4e247bd8991e.tar.gz
hdf5-7a30de3a2bf48a81dcf7679782ba4e247bd8991e.tar.bz2
[svn-r4680] Purpose:
Code cleanup Description: Property that H5P(g|s)et_hyper_cache uses is no longer in use inside the library. Solution: Removed H5P(g|s)et_hyper_cache API functions, except when backward compatibility is turned on. When backward compatibility is turned on, the property is defined by the library, but unused internally. Platforms tested: FreeBSD 4.4 (sleipnir)
Diffstat (limited to 'c++/src/H5DxferProp.cpp')
-rw-r--r--c++/src/H5DxferProp.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/c++/src/H5DxferProp.cpp b/c++/src/H5DxferProp.cpp
index 36d2405..9c3c1ea 100644
--- a/c++/src/H5DxferProp.cpp
+++ b/c++/src/H5DxferProp.cpp
@@ -93,6 +93,7 @@ bool DSetMemXferPropList::getPreserve() const
}
}
+#ifdef H5_WANT_H5_V1_4_COMPAT
// Indicates whether to cache hyperslab blocks during I/O
void DSetMemXferPropList::setHyperCache( bool cache, unsigned limit ) const
{
@@ -119,6 +120,7 @@ void DSetMemXferPropList::getHyperCache( bool& cache, unsigned& limit ) const
else
cache = false;
}
+#endif /* H5_WANT_H5_V1_4_COMPAT */
// Sets B-tree split ratios for a dataset transfer property list
void DSetMemXferPropList::setBtreeRatios( double left, double middle, double right ) const