diff options
| author | Fawrsk <fawrsk@gmail.com> | 2023-01-10 05:43:27 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-10 11:43:27 +0200 |
| commit | 7419037ef6e8a5497283278baa8582b264d3aefa (patch) | |
| tree | d4486cea253918ce1ff533148a4b7f8d9ddc2688 /indra/llcharacter/llgesture.cpp | |
| parent | 9c250f1a9ee2e49505a35513cb88de54e2694e6c (diff) | |
SL-18893 Fixes for pull requests #38, #41, and #42 (#46)
Eliminate unnecessary copies, and remove uses of auto
Diffstat (limited to 'indra/llcharacter/llgesture.cpp')
| -rw-r--r-- | indra/llcharacter/llgesture.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcharacter/llgesture.cpp b/indra/llcharacter/llgesture.cpp index e9a4475707..80717d8d26 100644 --- a/indra/llcharacter/llgesture.cpp +++ b/indra/llcharacter/llgesture.cpp @@ -200,7 +200,7 @@ BOOL LLGestureList::triggerAndReviseString(const std::string &string, std::strin boost::char_separator<char> sep(" "); tokenizer tokens(string, sep); - for(std::string cur_token : tokens) + for(const std::string& cur_token : tokens) { LLGesture* gesture = NULL; |
