App: Use contains instead of std::find

This commit is contained in:
Benjamin Nauck
2025-03-24 21:08:14 +01:00
parent f6b62fcc99
commit ea6ea1ee9c
2 changed files with 2 additions and 2 deletions

View File

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