X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=src%2Fapi%2Finternal%2FBamStandardIndex_p.cpp;h=8b23f749b43ca4af6203afa857ea58ea009ed069;hb=19077d59154eeb244af96b1fd9658e535c24c1be;hp=c492899a20167d4924be71ff25d18c0b55fc0a18;hpb=9f1ce8c47aeadb6dc1320b52ee671c3341b97935;p=bamtools.git diff --git a/src/api/internal/BamStandardIndex_p.cpp b/src/api/internal/BamStandardIndex_p.cpp index c492899..8b23f74 100644 --- a/src/api/internal/BamStandardIndex_p.cpp +++ b/src/api/internal/BamStandardIndex_p.cpp @@ -62,7 +62,6 @@ BamStandardIndex::RaiiWrapper::~RaiiWrapper(void) { // ctor BamStandardIndex::BamStandardIndex(Internal::BamReaderPrivate* reader) : BamIndex(reader) - , m_cacheMode(BamIndex::LimitedIndexCaching) , m_bufferLength(0) { m_isBigEndian = BamTools::SystemIsBigEndian(); @@ -762,12 +761,6 @@ void BamStandardIndex::Seek(const int64_t& position, const int& origin) { throw BamException("BamStandardIndex::Seek", "could not seek in BAI file"); } -// change the index caching behavior -void BamStandardIndex::SetCacheMode(const BamIndex::IndexCacheMode& mode) { - m_cacheMode = mode; - // do nothing else here ? cache mode will be ignored from now on, most likely -} - void BamStandardIndex::SkipBins(const int& numBins) { uint32_t binId; int32_t numAlignmentChunks;