From: huiyu.eun Date: Thu, 13 Dec 2018 09:24:54 +0000 (+0900) Subject: Add RemoveAll to LayoutGroup destructor X-Git-Tag: dali_1.4.0~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F21%2F195421%2F2;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git Add RemoveAll to LayoutGroup destructor Change-Id: Ic8d0aa8a6fe3681ed50bf77d97824aa8c1e6887a Signed-off-by: huiyu.eun --- diff --git a/dali-toolkit/devel-api/layouting/layout-group-impl.cpp b/dali-toolkit/devel-api/layouting/layout-group-impl.cpp index a8927f9..835aa66 100644 --- a/dali-toolkit/devel-api/layouting/layout-group-impl.cpp +++ b/dali-toolkit/devel-api/layouting/layout-group-impl.cpp @@ -59,6 +59,7 @@ LayoutGroup::~LayoutGroup() { // An object with a unique_ptr to an opaque structure must define it's destructor in the translation unit // where the opaque structure is defined. It cannot use the default method in the header file. + RemoveAll(); } Toolkit::LayoutGroup::LayoutId LayoutGroup::Add( LayoutItem& child )