diff options
| author | Ansariel Hiller <Ansariel@users.noreply.github.com> | 2025-04-25 19:52:38 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-25 20:52:38 +0300 |
| commit | 10a324a1034c177b95545ac7ffaa6aa6abed65ff (patch) | |
| tree | bfa78ec1ac88c92199339ed8b24ee3b5f50ecb4b /indra/llcharacter/llbvhloader.cpp | |
| parent | 3e5f4fd0c4cb31d94c9255b46d3ff9e2f06d327b (diff) | |
Reduce cost of joint lookups by reducing string allocations via use of std::string_view and heterogeneous map lookups (#3970)
Diffstat (limited to 'indra/llcharacter/llbvhloader.cpp')
| -rw-r--r-- | indra/llcharacter/llbvhloader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcharacter/llbvhloader.cpp b/indra/llcharacter/llbvhloader.cpp index 9dace08e6f..2521f9c8ec 100644 --- a/indra/llcharacter/llbvhloader.cpp +++ b/indra/llcharacter/llbvhloader.cpp @@ -131,7 +131,7 @@ LLQuaternion::Order bvhStringToOrder( char *str ) // LLBVHLoader() //----------------------------------------------------------------------------- -LLBVHLoader::LLBVHLoader(const char* buffer, ELoadStatus &loadStatus, S32 &errorLine, std::map<std::string, std::string>& joint_alias_map ) +LLBVHLoader::LLBVHLoader(const char* buffer, ELoadStatus &loadStatus, S32 &errorLine, std::map<std::string, std::string, std::less<>>& joint_alias_map ) { reset(); errorLine = 0; |
