diff options
author | Fawrsk <fawrsk@gmail.com> | 2023-01-07 00:38:12 -0400 |
---|---|---|
committer | Fawrsk <fawrsk@gmail.com> | 2023-01-07 00:38:12 -0400 |
commit | 9e743c99fb69db5694c388ae33656c62e3fa0b8e (patch) | |
tree | c981c998d0439d8bd48ce98123c19de8a9a27753 /indra/llcommon/lluri.cpp | |
parent | d0f115ae093e8268da2a3245d6cb2f3bcc544f1c (diff) |
Cleanup for loops in llcommon to use C++11 range based for loops
Diffstat (limited to 'indra/llcommon/lluri.cpp')
-rw-r--r-- | indra/llcommon/lluri.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llcommon/lluri.cpp b/indra/llcommon/lluri.cpp index 22711a83d2..4fb92a8f3e 100644 --- a/indra/llcommon/lluri.cpp +++ b/indra/llcommon/lluri.cpp @@ -663,9 +663,9 @@ LLSD LLURI::pathArray() const tokenizer::iterator end = tokens.end(); LLSD params; - for ( ; it != end; ++it) + for (const std::string& str : tokens) { - params.append(*it); + params.append(str); } return params; } |