diff options
author | Kitty Barnett <develop@catznip.com> | 2024-10-02 00:34:51 +0200 |
---|---|---|
committer | Kitty Barnett <develop@catznip.com> | 2024-10-02 00:34:51 +0200 |
commit | 48b34e07ef33965edcc38006082be01ed7ed239d (patch) | |
tree | dc236a74a900921ab1fae039f655f1cb9aca7b6c /indra/llui/llscrolllistctrl.cpp | |
parent | 689f723a5f314ffa0f54c0e50a51cbe464b36ccf (diff) | |
parent | 002a81ccf5a64fd08e29811a6edea36f2e0408be (diff) |
Merge branch 'develop' into rlva/base
Diffstat (limited to 'indra/llui/llscrolllistctrl.cpp')
-rw-r--r-- | indra/llui/llscrolllistctrl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llui/llscrolllistctrl.cpp b/indra/llui/llscrolllistctrl.cpp index ea2caaa1c0..8998d965fb 100644 --- a/indra/llui/llscrolllistctrl.cpp +++ b/indra/llui/llscrolllistctrl.cpp @@ -490,12 +490,12 @@ std::vector<LLScrollListItem*> LLScrollListCtrl::getAllData() const // returns first matching item LLScrollListItem* LLScrollListCtrl::getItem(const LLSD& sd) const { - const std::string& string_val = sd.asStringRef(); + std::string string_val = sd.asString(); for (LLScrollListItem* item : mItemList) { // assumes string representation is good enough for comparison - if (item->getValue().asStringRef() == string_val) + if (item->getValue().asString() == string_val) { return item; } |