summaryrefslogtreecommitdiff
path: root/indra/llui/llfloaterreg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llui/llfloaterreg.cpp')
-rw-r--r--indra/llui/llfloaterreg.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/indra/llui/llfloaterreg.cpp b/indra/llui/llfloaterreg.cpp
index a9ed678973..8f9268ffcb 100644
--- a/indra/llui/llfloaterreg.cpp
+++ b/indra/llui/llfloaterreg.cpp
@@ -610,10 +610,5 @@ U32 LLFloaterReg::getVisibleFloaterInstanceCount()
LLSD LLFloaterReg::getFloaterNames()
{
- LLSD names;
- for (auto &it : sGroupMap)
- {
- names.append(it.first);
- }
- return names;
+ return llsd::toArray(sGroupMap, [](const auto &pair) { return pair.first; });
}