summaryrefslogtreecommitdiff
path: root/indra/llui
diff options
context:
space:
mode:
authorAnsariel <ansariel.hiller@phoenixviewer.com>2024-02-16 00:07:58 +0100
committerAndrey Lihatskiy <alihatskiy@productengine.com>2024-02-16 10:17:55 +0200
commit9480a98cffaafa5826b8daad20020cf399bbbefc (patch)
tree32ddf9fc0d844e27b58956aa8c5d68145164dbb8 /indra/llui
parenta02459dea6c24d851ab5e76f63f31376d9d4791c (diff)
Replace most of BOOL with bool in llmath
Diffstat (limited to 'indra/llui')
-rw-r--r--indra/llui/llfolderview.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/llui/llfolderview.cpp b/indra/llui/llfolderview.cpp
index 650ae9ae75..8033eaa00f 100644
--- a/indra/llui/llfolderview.cpp
+++ b/indra/llui/llfolderview.cpp
@@ -1476,10 +1476,10 @@ BOOL LLFolderView::handleRightMouseDown( S32 x, S32 y, MASK mask )
}
}
- BOOL item_clicked = FALSE;
- for (selected_items_t::iterator item_it = mSelectedItems.begin(); item_it != mSelectedItems.end(); ++item_it)
+ bool item_clicked{ false };
+ for (const auto item : mSelectedItems)
{
- item_clicked |= (*item_it)->getRect().pointInRect(x, y);
+ item_clicked |= item->getRect().pointInRect(x, y);
}
if(!item_clicked && mSingleFolderMode)
{