diff options
author | Rye Mutt <rye@alchemyviewer.org> | 2024-07-01 21:48:34 -0400 |
---|---|---|
committer | Rye Mutt <rye@alchemyviewer.org> | 2024-07-01 21:50:54 -0400 |
commit | e834e77988fcf637ee0f3e4c5c0875e47044e324 (patch) | |
tree | a6d95d8a8a29eb8f4ce3f86855a9e33fb0dde5b3 /indra/llui/llmenugl.h | |
parent | e32f6426d5b0765272f7c08bbbb6780a2f2e1e0b (diff) |
Reduce string temporaries from findChild and getChild
Diffstat (limited to 'indra/llui/llmenugl.h')
-rw-r--r-- | indra/llui/llmenugl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llui/llmenugl.h b/indra/llui/llmenugl.h index 51766afe85..300a669d52 100644 --- a/indra/llui/llmenugl.h +++ b/indra/llui/llmenugl.h @@ -687,8 +687,8 @@ public: virtual void openMenu(); - virtual LLView* getChildView(const std::string& name, bool recurse = true) const; - virtual LLView* findChildView(const std::string& name, bool recurse = true) const; + virtual LLView* getChildView(std::string_view name, bool recurse = true) const; + virtual LLView* findChildView(std::string_view name, bool recurse = true) const; private: LLHandle<LLView> mBranchHandle; |