[BUG] Can't remove element from array of pointers (C++)

Hi Matthew,
I can’t agree. I debugged it step by step and checked the content of variables. In ChildHeap variable, there was single element. Since I got exact pointer as a parameter to my function, variable f was valid and pointed to that single element in ChildHeap. Then execution proceeded to Array::Remove(…)
I checked content of parameter Item and it was again that element. So method CheckAddress was called. But if you read that error:

Attempting to add a container element (%p) which already comes from the container

you will see, that it is failing because it is in container (which is good that it is, but it throws error thus you are not able to remove item from container). And from that message you can see, that checking was intended to Adding, but not removing - in latter case the condition should be negated)