X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flyxfind.cpp;h=c8fc40947e75643cb281589fc41b62b30508858c;hb=3c488c22e1d86da021750e04b0c8e85a8d8630ab;hp=bce889b773904cf751a016060f04ca71d4b2407d;hpb=c29f31e9822f1ae651129e9647be2de4afa4e918;p=features.git diff --git a/src/lyxfind.cpp b/src/lyxfind.cpp index bce889b773..c8fc40947e 100644 --- a/src/lyxfind.cpp +++ b/src/lyxfind.cpp @@ -2424,7 +2424,7 @@ void LatexInfo::buildEntries(bool isPatternString) } // Ignore language if there is math somewhere in pattern-string if (isPatternString) { - for (auto s: usedText) { + for (auto const & s: usedText) { // Remove entries created in previous search runs keys.erase(s); }