diff options
| author | Callum Prentice <callum@lindenlab.com> | 2023-05-17 11:31:45 -0700 |
|---|---|---|
| committer | Callum Prentice <callum@lindenlab.com> | 2023-05-17 11:31:45 -0700 |
| commit | f45e888c903bc7a4953b2812e6c30721a4322d1b (patch) | |
| tree | dc76eefe00474e27ad2981f0d922fec617d1b9ad /indra/llcommon/llsdparam.cpp | |
| parent | 671978e3927bc3ba9fc34008bbb7efd6f07b6c81 (diff) | |
| parent | 5a70639b7992842a9f74ec81b11bac56608b8f2e (diff) | |
Some small tweaks after merge with Viewer release
Diffstat (limited to 'indra/llcommon/llsdparam.cpp')
| -rw-r--r-- | indra/llcommon/llsdparam.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/indra/llcommon/llsdparam.cpp b/indra/llcommon/llsdparam.cpp index af4ccf25fd..30f49b27ea 100644 --- a/indra/llcommon/llsdparam.cpp +++ b/indra/llcommon/llsdparam.cpp @@ -113,11 +113,9 @@ void LLParamSDParser::writeSDImpl(LLSD& sd, const LLInitParam::BaseBlock& block, /*virtual*/ std::string LLParamSDParser::getCurrentElementName() { std::string full_name = "sd"; - for (name_stack_t::iterator it = mNameStack.begin(); - it != mNameStack.end(); - ++it) + for (name_stack_t::value_type& stack_pair : mNameStack) { - full_name += llformat("[%s]", it->first.c_str()); + full_name += llformat("[%s]", stack_pair.first.c_str()); } return full_name; |
