From: Thibaut Cuvelier Date: Sun, 20 Feb 2022 01:03:41 +0000 (+0100) Subject: Amend 0dc7f34e: avoid using a C++20 function. X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=dec53304268388a46805418a5b531c2b48eb0f22;p=features.git Amend 0dc7f34e: avoid using a C++20 function. --- diff --git a/src/Encoding.cpp b/src/Encoding.cpp index 4e47daef8b..988872f05a 100644 --- a/src/Encoding.cpp +++ b/src/Encoding.cpp @@ -727,7 +727,7 @@ void Encodings::read(FileName const & encfile, FileName const & symbolsfile) symbol = tmp; // Special case: more than one entry for one character (to add other LaTeX commands). - if (unicodesymbols.contains(symbol)) { + if (unicodesymbols.find(symbol) != unicodesymbols.end()) { if (!symbolsLex.next(true)) break; docstring textCommand = symbolsLex.getDocString();