summaryrefslogtreecommitdiff
path: root/indra/llui/llpanel.h
diff options
context:
space:
mode:
authorRye Mutt <rye@alchemyviewer.org>2024-07-01 21:48:34 -0400
committerRye Mutt <rye@alchemyviewer.org>2024-07-01 21:50:54 -0400
commite834e77988fcf637ee0f3e4c5c0875e47044e324 (patch)
treea6d95d8a8a29eb8f4ce3f86855a9e33fb0dde5b3 /indra/llui/llpanel.h
parente32f6426d5b0765272f7c08bbbb6780a2f2e1e0b (diff)
Reduce string temporaries from findChild and getChild
Diffstat (limited to 'indra/llui/llpanel.h')
-rw-r--r--indra/llui/llpanel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/llpanel.h b/indra/llui/llpanel.h
index 2be5573faf..6d1be519e4 100644
--- a/indra/llui/llpanel.h
+++ b/indra/llui/llpanel.h
@@ -259,7 +259,7 @@ private:
// Build time optimization, generate once in .cpp file
#ifndef LLPANEL_CPP
extern template class LLPanel* LLView::getChild<class LLPanel>(
- const std::string& name, bool recurse) const;
+ std::string_view name, bool recurse) const;
#endif
typedef boost::function<LLPanel* (void)> LLPanelClassCreatorFunc;