Skip to content

Commit cbca090

Browse files
authored
Merge pull request #132 from pezmaster31/split-fix
Fixed - compiler error in bamtools_split.
2 parents 8df1a3e + 6622c25 commit cbca090

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/toolkit/bamtools_split.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -501,8 +501,8 @@ bool SplitTool::SplitToolPrivate::SplitListTagImpl(BamAlignment& al) {
501501
else {
502502
// make list label from tag data
503503
stringstream listTagLabelStream;
504-
typename TagValueType::const_iterator tagValueIter = currentValue.cbegin();
505-
typename TagValueType::const_iterator tagValueEnd = currentValue.cend();
504+
typename TagValueType::const_iterator tagValueIter = currentValue.begin();
505+
typename TagValueType::const_iterator tagValueEnd = currentValue.end();
506506
for (; tagValueIter != tagValueEnd; ++tagValueIter)
507507
listTagLabelStream << (*tagValueIter) << m_settings->ListTagDelimiter;
508508
listTagLabel = listTagLabelStream.str();
@@ -514,7 +514,7 @@ bool SplitTool::SplitToolPrivate::SplitListTagImpl(BamAlignment& al) {
514514
writerIter = outputFiles.find(listTagLabel);
515515

516516
// if not found, create one
517-
if (writerIter == outputFiles.cend()) {
517+
if (writerIter == outputFiles.end()) {
518518

519519
// open new BamWriter, save first alignment
520520
stringstream outputFilenameStream;

0 commit comments

Comments
 (0)