diff options
| author | Andrey Lihatskiy <alihatskiy@productengine.com> | 2024-07-02 12:02:26 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-02 12:02:26 +0300 |
| commit | 5e1f83f7e657a455cdd57716ac6addf3f91b4e0c (patch) | |
| tree | 77c11941a1cdafd7b5758da028fec4fbd707feec /indra/newview/tests/llviewernetwork_test.cpp | |
| parent | e32f6426d5b0765272f7c08bbbb6780a2f2e1e0b (diff) | |
| parent | fad6a3753757778d4b50d46f44aabd0d3fa3e13b (diff) | |
Merge pull request #1903 from RyeMutt/reduce-llui-stringtemp
Reduce string temporaries from frequently called llui find and get functions
Diffstat (limited to 'indra/newview/tests/llviewernetwork_test.cpp')
| -rw-r--r-- | indra/newview/tests/llviewernetwork_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/tests/llviewernetwork_test.cpp b/indra/newview/tests/llviewernetwork_test.cpp index 40c2059d27..d9cb9e7538 100644 --- a/indra/newview/tests/llviewernetwork_test.cpp +++ b/indra/newview/tests/llviewernetwork_test.cpp @@ -45,10 +45,10 @@ static const char * const TEST_FILENAME("llviewernetwork_test.xml"); class LLTrans { public: - static std::string getString(const std::string &xml_desc, const LLStringUtil::format_map_t& args, bool def_string = false); + static std::string getString(std::string_view xml_desc, const LLStringUtil::format_map_t& args, bool def_string = false); }; -std::string LLTrans::getString(const std::string &xml_desc, const LLStringUtil::format_map_t& args, bool def_string) +std::string LLTrans::getString(std::string_view xml_desc, const LLStringUtil::format_map_t& args, bool def_string) { std::string grid_label = std::string(); if(xml_desc == "AgniGridLabel") |
