]> git.lyx.org Git - features.git/blobdiff - src/lyxfind.cpp
Update tex2lyx tests
[features.git] / src / lyxfind.cpp
index bce889b773904cf751a016060f04ca71d4b2407d..c8fc40947e75643cb281589fc41b62b30508858c 100644 (file)
@@ -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);
                }