Gui: use contains() and isEmpty() instead of count() where possible
This commit is contained in:
@@ -2602,7 +2602,7 @@ App::Document* Application::reopen(App::Document* doc)
|
||||
if (name == v.first->FileName.getValue()) {
|
||||
doc = const_cast<App::Document*>(v.first);
|
||||
}
|
||||
if (untouchedDocs.count(v.second)) {
|
||||
if (untouchedDocs.contains(v.second)) {
|
||||
if (!v.second->isModified()) {
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user