Avoid warning in Release mode in View::updateView()

This commit is contained in:
David Capello 2022-09-26 19:49:26 -03:00
parent f7154aa0d8
commit 9c09a55487

View File

@ -179,6 +179,7 @@ void View::updateView(const bool restoreScrollPos)
}
if (Widget* child = attachedWidget()) {
(void)child;
updateAttachedWidgetBounds(viewScroll());
ASSERT(child->bounds().w >= viewportBounds().w);
ASSERT(child->bounds().h >= viewportBounds().h);