Fixing some particularly bad /W4.
This commit is contained in:
@@ -100,7 +100,7 @@ bool Entry::Delete(Entry* entry) {
|
||||
if (!DeleteEntryInternal(entry)) {
|
||||
return false;
|
||||
}
|
||||
for (auto& it = children_.begin(); it != children_.end(); ++it) {
|
||||
for (auto it = children_.begin(); it != children_.end(); ++it) {
|
||||
if (it->get() == entry) {
|
||||
children_.erase(it);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user