Removed unused variable
This commit is contained in:
parent
6003db8562
commit
1a36292055
1 changed files with 0 additions and 1 deletions
|
@ -59,7 +59,6 @@ void GarbageCollector::RemoveObject(std::shared_ptr<Object> ObjectToRemove)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
auto oldSize = _RootObjects.size();
|
|
||||||
auto newEnd = std::remove_if(
|
auto newEnd = std::remove_if(
|
||||||
_RootObjects.begin(), _RootObjects.end(),
|
_RootObjects.begin(), _RootObjects.end(),
|
||||||
[ObjectToRemove](const std::shared_ptr<Object>& obj) {
|
[ObjectToRemove](const std::shared_ptr<Object>& obj) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue