-void RelayoutController::FindAndZero(const RawActorList& list, const Dali::RefObject* object)
-{
- // Object has been destroyed so clear it from this list
- for(auto& actor : list)
- {
- if(actor && (actor == object))
- {
- actor = nullptr; // Reset the pointer in the list. We don't want to remove it in case something is iterating over the list.
- }
- }
-}
-