App: use empty

This commit is contained in:
berniev
2022-08-06 02:41:59 +10:00
committed by wwmayer
parent 29197f503d
commit 1cc6329eab
16 changed files with 127 additions and 127 deletions

View File

@@ -449,7 +449,7 @@ void DocumentObject::getInListEx(std::set<App::DocumentObject*> &inSet,
std::stack<DocumentObject*> pendings;
pendings.push(const_cast<DocumentObject*>(this));
while(pendings.size()) {
while(!pendings.empty()) {
auto obj = pendings.top();
pendings.pop();
for(auto o : obj->getInList()) {