Linux compiliation fix, needed to create DirtyFilterFunctor outside of function parameter so that it can be legally passed as a reference.

meow-7.2.2
Gilbert Gonzales 2012-08-06 14:08:14 -07:00
parent aa011b98e3
commit 02bdceb580
1 changed files with 2 additions and 1 deletions

View File

@ -624,7 +624,8 @@ void LLInventoryPanel::idle(void* user_data)
LLFolderViewFolder* trash_folder = panel->getFolderByID(trash_id);
if (trash_folder)
{
trash_folder->applyFunctorToChildren(DirtyFilterFunctor());
DirtyFilterFunctor dirtyFilterFunctor;
trash_folder->applyFunctorToChildren(dirtyFilterFunctor);
}
}