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/lltextbox.cpp | |
parent | e32f6426d5b0765272f7c08bbbb6780a2f2e1e0b (diff) |
Reduce string temporaries from findChild and getChild
Diffstat (limited to 'indra/llui/lltextbox.cpp')
-rw-r--r-- | indra/llui/lltextbox.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/lltextbox.cpp b/indra/llui/lltextbox.cpp index 92551b682c..05af36b71e 100644 --- a/indra/llui/lltextbox.cpp +++ b/indra/llui/lltextbox.cpp @@ -39,7 +39,7 @@ static LLDefaultChildRegistry::Register<LLTextBox> r("text"); // Compiler optimization, generate extern template template class LLTextBox* LLView::getChild<class LLTextBox>( - const std::string& name, bool recurse) const; + std::string_view name, bool recurse) const; LLTextBox::LLTextBox(const LLTextBox::Params& p) : LLTextBase(p), |