From 5d6aaaf07548e2025eba794cb9bde079fc6fe84b Mon Sep 17 00:00:00 2001 From: David Lewis Date: Tue, 17 Dec 2024 14:23:51 +0000 Subject: [PATCH] Linting with clang 18 --- src/iomusxml.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/iomusxml.cpp b/src/iomusxml.cpp index 27b267a541..60c50fa09f 100644 --- a/src/iomusxml.cpp +++ b/src/iomusxml.cpp @@ -3492,7 +3492,7 @@ void MusicXmlInput::ReadMusicXmlNote( m_trillStack.push_back({ trill, openTrill }); } for (pugi::xml_node xmlAccidMark = xmlTrill.node().next_sibling("accidental-mark"); xmlAccidMark; - xmlAccidMark = xmlAccidMark.next_sibling("accidental-mark")) { + xmlAccidMark = xmlAccidMark.next_sibling("accidental-mark")) { if (HasAttributeWithValue(xmlAccidMark, "placement", "below")) { trill->SetAccidlower(ConvertAccidentalToAccid(xmlAccidMark.text().as_string())); } @@ -3530,7 +3530,7 @@ void MusicXmlInput::ReadMusicXmlNote( turn->SetPlace(turn->AttPlacementRelStaff::StrToStaffrel(xmlTurn.node().attribute("placement").as_string())); turn->SetForm(turnLog_FORM_upper); for (pugi::xml_node xmlAccidMark = xmlTurn.node().next_sibling("accidental-mark"); xmlAccidMark; - xmlAccidMark = xmlAccidMark.next_sibling("accidental-mark")) { + xmlAccidMark = xmlAccidMark.next_sibling("accidental-mark")) { if (HasAttributeWithValue(xmlAccidMark, "placement", "above")) { turn->SetAccidupper(ConvertAccidentalToAccid(xmlAccidMark.text().as_string())); } @@ -4691,7 +4691,7 @@ std::pair, int> MusicXmlInput::GetMeterSigGrpValues(const pugi: int maxUnit = 0; std::vector meterCounts; for (auto iter1 = beats.begin(), iter2 = beat_type.begin(); (iter1 != beats.end()) && (iter2 != beat_type.end()); - ++iter1, ++iter2) { + ++iter1, ++iter2) { // Process current beat/beat-type combination and add it to the meterSigGrp MeterSig *meterSig = new MeterSig(); data_METERCOUNT_pair count = meterSig->AttMeterSigLog::StrToMetercountPair(iter1->node().text().as_string());