Commit cf8c730
committed
Fix LinalgOps build error on older clang versions
As reported in the PR llvm#123618, 0d4efa2 included a
construction of a `FailureOr` object with a `nullptr`, which didn't work
in at least clang-10. This patch changes it into a constructor call
instead of a brace-init call so that it is unambiguous.1 parent 1a314b2 commit cf8c730
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3533 | 3533 | | |
3534 | 3534 | | |
3535 | 3535 | | |
3536 | | - | |
| 3536 | + | |
| 3537 | + | |
3537 | 3538 | | |
3538 | 3539 | | |
3539 | 3540 | | |
| |||
0 commit comments