App: Use contains instead of std::find
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user