From Mathias Froehlich, build fixes

This commit is contained in:
Robert Osfield
2011-01-24 21:12:25 +00:00
parent 442caf6961
commit abea92ee91
5 changed files with 9 additions and 6 deletions

View File

@@ -228,9 +228,7 @@ public:
if (_pagedLODs.erase(clod) > 0)
leftToRemove--;
}
childrenRemoved.insert(childrenRemoved.end(),
expiredChildren.begin(),
expiredChildren.end());
std::copy(expiredChildren.begin(), expiredChildren.end(), std::back_inserter(childrenRemoved));
}
// advance the iterator to the next element