diff options
Diffstat (limited to 'shell/source/tools/lngconvex/lngconvex.cxx')
-rw-r--r-- | shell/source/tools/lngconvex/lngconvex.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/shell/source/tools/lngconvex/lngconvex.cxx b/shell/source/tools/lngconvex/lngconvex.cxx index 802cafb6a08b..85f36ae8e28e 100644 --- a/shell/source/tools/lngconvex/lngconvex.cxx +++ b/shell/source/tools/lngconvex/lngconvex.cxx @@ -470,15 +470,12 @@ void inflate_rc_template_to_file( { substitutor.set_language(iso_lang_identifier(iter->first)); - auto rct_iter = rctmpl.cbegin(); - auto rct_iter_end = rctmpl.cend(); - if (!rctmpl.empty()) start_language_section(oi, iso_lang_identifier(iter->first)); - for ( /**/ ;rct_iter != rct_iter_end; ++rct_iter) + for ( auto& rct : rctmpl) { - std::istringstream iss(*rct_iter); + std::istringstream iss(rct); std::string line; while (iss) |