mirror of
https://review.haiku-os.org/haiku
synced 2025-02-03 04:07:18 +01:00
edb4c8244c
Add a struct to kits/interface/Layout.cpp that uses BView::Private to provide RAII mechanics for the removal of views (calling BView::Private::RemoveSelf()). Use the new struct to simplify BLayout::AddItem().