forked from qt-creator/qt-creator
Libs: Cleanup lambdas
Change-Id: I715a124dd73f23c735dde27d3205ac7613ae04c6 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -541,7 +541,7 @@ bool Scanner::isKeyword(const QString &text) const
|
||||
|
||||
QStringList Scanner::keywords()
|
||||
{
|
||||
static QStringList words = []() {
|
||||
static QStringList words = [] {
|
||||
QStringList res;
|
||||
for (const QString *word = begin(js_keywords); word != end(js_keywords); ++word)
|
||||
res.append(*word);
|
||||
|
||||
Reference in New Issue
Block a user