summaryrefslogtreecommitdiff
path: root/indra/llui/llview.h
diff options
context:
space:
mode:
authorRye Mutt <rye@alchemyviewer.org>2024-07-01 22:25:56 -0400
committerRye Mutt <rye@alchemyviewer.org>2024-07-01 22:25:56 -0400
commitb0e30477e93bb16b0cf8c7b64aaee35cedf85ca8 (patch)
treed8e0c8eca6f078395d0bc581925f589adc67d895 /indra/llui/llview.h
parent49d60e0ded52c095c834e9ca134b67282728b389 (diff)
Use heterogeneous comparison for string_view map finds in LLControl and convert controlExists to string_view
Diffstat (limited to 'indra/llui/llview.h')
-rw-r--r--indra/llui/llview.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/llview.h b/indra/llui/llview.h
index 4a9bef158a..710ec3d05e 100644
--- a/indra/llui/llview.h
+++ b/indra/llui/llview.h
@@ -416,7 +416,7 @@ public:
void screenRectToLocal( const LLRect& screen, LLRect* local ) const;
void localRectToScreen( const LLRect& local, LLRect* screen ) const;
- LLControlVariable *findControl(const std::string& name);
+ LLControlVariable *findControl(std::string_view name);
const child_list_t* getChildList() const { return &mChildList; }
child_list_const_iter_t beginChild() const { return mChildList.begin(); }