X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=src%2Fapi%2Finternal%2FBamToolsIndex_p.cpp;h=cdf3d10a597fe1697f504f80015f92c481a743b5;hb=19077d59154eeb244af96b1fd9658e535c24c1be;hp=567b5514428d515348282f1bddfbfed14a55f7a9;hpb=9f1ce8c47aeadb6dc1320b52ee671c3341b97935;p=bamtools.git diff --git a/src/api/internal/BamToolsIndex_p.cpp b/src/api/internal/BamToolsIndex_p.cpp index 567b551..cdf3d10 100644 --- a/src/api/internal/BamToolsIndex_p.cpp +++ b/src/api/internal/BamToolsIndex_p.cpp @@ -53,7 +53,6 @@ BamToolsIndex::RaiiWrapper::~RaiiWrapper(void) { // ctor BamToolsIndex::BamToolsIndex(Internal::BamReaderPrivate* reader) : BamIndex(reader) - , m_cacheMode(BamIndex::LimitedIndexCaching) , m_blockSize(BamToolsIndex::DEFAULT_BLOCK_LENGTH) , m_inputVersion(0) , m_outputVersion(BTI_2_0) // latest version - used for writing new index files @@ -538,12 +537,6 @@ void BamToolsIndex::Seek(const int64_t& position, const int& origin) { throw BamException("BamToolsIndex::Seek", "could not seek in BAI file"); } -// change the index caching behavior -void BamToolsIndex::SetCacheMode(const BamIndex::IndexCacheMode& mode) { - m_cacheMode = mode; - // do nothing else here ? cache mode will be ignored from now on, most likely -} - void BamToolsIndex::SkipBlocks(const int& numBlocks) { Seek( numBlocks*BamToolsIndex::SIZEOF_BLOCK, SEEK_CUR ); }