Wrap LLView::child_list_t in a class AIList.

So far not doing anything. Iterators already keep a pointer to the
container they belong to.
This commit is contained in:
Aleric Inglewood
2013-02-06 03:06:06 +01:00
parent ea114986be
commit baab1d81a7
4 changed files with 196 additions and 3 deletions

View File

@@ -76,7 +76,7 @@ viewList_t LLViewQuery::run(LLView* view) const
viewList_t result;
// prefilter gets immediate children of view
filterResult_t pre = runFilters(view, *view->getChildList(), mPreFilters);
filterResult_t pre = runFilters(view, view->getChildList()->get_std_list(), mPreFilters);
if(!pre.first && !pre.second)
{
// not including ourselves or the children
@@ -113,7 +113,7 @@ viewList_t LLViewQuery::run(LLView* view) const
void LLViewQuery::filterChildren(LLView * view, viewList_t & filtered_children) const
{
viewList_t views(*(view->getChildList()));
viewList_t views(view->getChildList()->get_std_list());
if (mSorterp)
{
(*mSorterp)(view, views); // sort the children per the sorter