Skip to content

Commit

Permalink
Use C++20 contains()
Browse files Browse the repository at this point in the history
  • Loading branch information
lpugin committed Jan 23, 2024
1 parent ae148e7 commit 5df899b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/accid.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ void Accid::AdjustX(LayerElement *element, const Doc *doc, int staffSize, std::v
leftAccids.push_back(accid);
return;
}
if (adjustedAccids.count(accid) == 0) return;
if (!adjustedAccids.contains(accid)) return;
}

int xRelShift = 0;
Expand Down

0 comments on commit 5df899b

Please sign in to comment.