Skip to content

Commit

Permalink
Merge pull request #132 from pezmaster31/split-fix
Browse files Browse the repository at this point in the history
Fixed - compiler error in bamtools_split.
  • Loading branch information
pezmaster31 authored Jul 5, 2016
2 parents 8df1a3e + 6622c25 commit cbca090
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/toolkit/bamtools_split.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -501,8 +501,8 @@ bool SplitTool::SplitToolPrivate::SplitListTagImpl(BamAlignment& al) {
else {
// make list label from tag data
stringstream listTagLabelStream;
typename TagValueType::const_iterator tagValueIter = currentValue.cbegin();
typename TagValueType::const_iterator tagValueEnd = currentValue.cend();
typename TagValueType::const_iterator tagValueIter = currentValue.begin();
typename TagValueType::const_iterator tagValueEnd = currentValue.end();
for (; tagValueIter != tagValueEnd; ++tagValueIter)
listTagLabelStream << (*tagValueIter) << m_settings->ListTagDelimiter;
listTagLabel = listTagLabelStream.str();
Expand All @@ -514,7 +514,7 @@ bool SplitTool::SplitToolPrivate::SplitListTagImpl(BamAlignment& al) {
writerIter = outputFiles.find(listTagLabel);

// if not found, create one
if (writerIter == outputFiles.cend()) {
if (writerIter == outputFiles.end()) {

// open new BamWriter, save first alignment
stringstream outputFilenameStream;
Expand Down

0 comments on commit cbca090

Please sign in to comment.