[mlir] Attempt working around a GCC 5 bug

It doesn't like implicit `this` in generic lambdas.
This commit is contained in:
Benjamin Kramer 2022-02-01 11:58:27 +01:00
parent 42398b5142
commit a0ea73394f
1 changed files with 1 additions and 1 deletions

View File

@ -2707,7 +2707,7 @@ OpFormatParser::parseQualifiedDirective(SMLoc loc, Context context) {
return element; return element;
}) })
.Default([&](auto *element) { .Default([&](auto *element) {
return emitError( return this->emitError(
loc, loc,
"'qualified' directive expects an attribute or a `type` directive"); "'qualified' directive expects an attribute or a `type` directive");
}); });