Amend 76cdca64223f

Use auto pointer in all loops over UsedLanguages_
This commit is contained in:
Juergen Spitzmueller 2020-08-23 13:48:45 +02:00
parent 57076cfff4
commit 0fa93fe55a

View File

@ -1791,7 +1791,7 @@ docstring const LaTeXFeatures::getBabelPresettings() const
{
odocstringstream tmp;
for (Language const * lang : UsedLanguages_)
for (auto const & lang : UsedLanguages_)
if (!lang->babel_presettings().empty())
tmp << lang->babel_presettings() << '\n';
if (!params_.language->babel_presettings().empty())
@ -1808,7 +1808,7 @@ docstring const LaTeXFeatures::getBabelPostsettings() const
{
odocstringstream tmp;
for (Language const * lang : UsedLanguages_)
for (auto const & lang : UsedLanguages_)
if (!lang->babel_postsettings().empty())
tmp << lang->babel_postsettings() << '\n';
if (!params_.language->babel_postsettings().empty())