fix build

This commit is contained in:
Martin Rotter 2023-08-04 11:25:43 +02:00
parent 8698084ffe
commit a4ee83f96d

View File

@ -12,7 +12,7 @@ JsSyntaxHighlighter::JsSyntaxHighlighter(QTextDocument* parent) : QSyntaxHighlig
m_keywordFormat.setFontWeight(QFont::Weight::Bold);
QStringList keywords = jsKeywords();
auto std_keywords = boolinq::from(keywords)
auto std_keywords = boolinq::from(keywords.begin(), keywords.end())
.select([](const QString& kw) {
return QSL("\\b%1\\b").arg(kw);
})