Skip to content

Commit

Permalink
Merge pull request #3864 from rism-digital/develop-convert-cmn
Browse files Browse the repository at this point in the history
Drop use of <ranges>
  • Loading branch information
lpugin authored Nov 21, 2024
2 parents 0367c2b + 69ba7d5 commit 18595b7
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/convertfunctor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@

//----------------------------------------------------------------------------

#include <ranges>

//----------------------------------------------------------------------------

#include "bracketspan.h"
#include "dir.h"
#include "div.h"
Expand Down Expand Up @@ -704,7 +700,8 @@ FunctorCode ConvertToCmnFunctor::VisitNote(Note *note)

// Add the tie
Object *tieStart = m_durationElements.front();
for (Object *tieEnd : m_durationElements | std::views::drop(1)) {
for (Object *tieEnd : m_durationElements) {
if (tieStart == tieEnd) continue;
Object *measure = tieStart->GetFirstAncestor(MEASURE);
assert(measure);
Tie *tie = new Tie();
Expand Down

0 comments on commit 18595b7

Please sign in to comment.