diff options
author | Gilbert Gonzales <gilbert@lindenlab.com> | 2012-08-06 14:08:14 -0700 |
---|---|---|
committer | Gilbert Gonzales <gilbert@lindenlab.com> | 2012-08-06 14:08:14 -0700 |
commit | 02bdceb5808b670fdb16784f11488c12c09e1b4b (patch) | |
tree | b0aff27237f52d33891504bcbebdeab1ee463426 /indra/newview | |
parent | aa011b98e39d9669c0bb06a25c18b092122d9252 (diff) |
Linux compiliation fix, needed to create DirtyFilterFunctor outside of function parameter so that it can be legally passed as a reference.
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llinventorypanel.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llinventorypanel.cpp b/indra/newview/llinventorypanel.cpp index b217612ee7..7fba52d47f 100644 --- a/indra/newview/llinventorypanel.cpp +++ b/indra/newview/llinventorypanel.cpp @@ -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); } } |