From: Richard Kimberly Heck Date: Fri, 28 Feb 2020 05:39:50 +0000 (-0500) Subject: Polish X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=b8e52a4f33f93a36628bbbeb678330e6dcc4454f;p=features.git Polish --- diff --git a/src/Buffer.cpp b/src/Buffer.cpp index a300b2dd4b..e7860af0f4 100644 --- a/src/Buffer.cpp +++ b/src/Buffer.cpp @@ -3408,7 +3408,7 @@ vector> const Buffer::prepareBibFilePaths(OutputParams c enc = params().bibFileEncoding(utf8input); bool recorded = false; - for (pair pe : res) { + for (auto const & pe : res) { if (pe.first == path) { recorded = true; break; @@ -3996,7 +3996,7 @@ void Buffer::setInsetLabel(docstring const & label, InsetLabel const * il, InsetLabel const * Buffer::insetLabel(docstring const & label, bool const active) const { - for (auto & rc : masterBuffer()->d->label_cache_) { + for (auto const & rc : masterBuffer()->d->label_cache_) { if (rc.label == label && (rc.active || !active)) return rc.inset; }