App: apply std::ranges

This commit is contained in:
bofdahof
2025-03-12 17:46:30 +10:00
committed by Chris Hennes
parent f9fd8b299c
commit 59c3bbe5c2
9 changed files with 25 additions and 27 deletions

View File

@@ -290,7 +290,7 @@ void Document::exportGraphviz(std::ostream& out) const
{
// don't add objects twice
if (std::find(objects.begin(), objects.end(), docObj) != objects.end()) {
if (std::ranges::find(objects, docObj) != objects.end()) {
return;
}