summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterregioninfo.cpp
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2022-08-26 17:21:01 -0400
committerNat Goodspeed <nat@lindenlab.com>2022-08-26 17:21:01 -0400
commit2dc4aec9936186eeaa0867745bb94168f569849b (patch)
treed516d450a2c5753912fb46edf1c59d131a2a2227 /indra/newview/llfloaterregioninfo.cpp
parent96ec4b3a54268416e59fe68e597e5aea4579bd44 (diff)
DRTVWR-568: Eliminate more blockers to C++17 language standard.
Diffstat (limited to 'indra/newview/llfloaterregioninfo.cpp')
-rw-r--r--indra/newview/llfloaterregioninfo.cpp12
1 files changed, 5 insertions, 7 deletions
diff --git a/indra/newview/llfloaterregioninfo.cpp b/indra/newview/llfloaterregioninfo.cpp
index 296e155d28..bf38a495bb 100644
--- a/indra/newview/llfloaterregioninfo.cpp
+++ b/indra/newview/llfloaterregioninfo.cpp
@@ -656,13 +656,11 @@ void LLFloaterRegionInfo::refreshFromRegion(LLViewerRegion* region)
}
// call refresh from region on all panels
- std::for_each(
- mInfoPanels.begin(),
- mInfoPanels.end(),
- llbind2nd(
- std::mem_fun(&LLPanelRegionInfo::refreshFromRegion),
- region));
- mEnvironmentPanel->refreshFromRegion(region);
+ for (const auto& infoPanel : mInfoPanels)
+ {
+ infoPanel->refreshFromRegion(region);
+ }
+ mEnvironmentPanel->refreshFromRegion(region);
}
// public