summaryrefslogtreecommitdiff
path: root/indra/newview/llfavoritesbar.cpp
diff options
context:
space:
mode:
authorAndrey Lihatskiy <alihatskiy@productengine.com>2021-08-27 19:24:05 +0300
committerAndrey Lihatskiy <alihatskiy@productengine.com>2021-08-27 19:24:05 +0300
commit203ea3a70a775a09cbbffb1740ab7c58f1780baa (patch)
tree828b0ea2336944d7ab0cc78704ae364966ec98a1 /indra/newview/llfavoritesbar.cpp
parent8e3f0778863a5aa337d1148a243ea91d238a8ac5 (diff)
parent2e790e9b7250d5f79751fa5287c1993f3fa5c776 (diff)
Merge branch 'c++17' into DRTVWR-522-maint
Diffstat (limited to 'indra/newview/llfavoritesbar.cpp')
-rw-r--r--indra/newview/llfavoritesbar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llfavoritesbar.cpp b/indra/newview/llfavoritesbar.cpp
index 83b5bf3f25..e33def5969 100644
--- a/indra/newview/llfavoritesbar.cpp
+++ b/indra/newview/llfavoritesbar.cpp
@@ -831,7 +831,7 @@ void LLFavoritesBarCtrl::updateButtons()
{
//find last visible child to get the rightest button offset
child_list_const_reverse_iter_t last_visible_it = std::find_if(childs->rbegin(), childs->rend(),
- std::mem_fun(&LLView::getVisible));
+ [](child_list_t::value_type child){ return child->getVisible(); });
if(last_visible_it != childs->rend())
{
last_right_edge = (*last_visible_it)->getRect().mRight;