cmAlgorithms: Remove needless assignment.

This commit is contained in:
Stephen Kelly 2015-02-20 22:15:47 +01:00 committed by Brad King
parent 7fd8557f4c
commit a5b10ae68a
1 changed files with 1 additions and 2 deletions

View File

@ -249,8 +249,7 @@ typename Range::const_iterator cmRemoveIndices(Range& r, InputRange const& rem)
prevRem = *remIt;
writer = ContainerAlgorithms::RemoveN(writer, pivot, count);
}
writer = ContainerAlgorithms::RemoveN(writer, r.end(), count);
return writer;
return ContainerAlgorithms::RemoveN(writer, r.end(), count);
}
template<typename Range, typename MatchRange>