Commit 1b17d17
authored
[SYCL] Fix AccessorSubscript windows build issue (#6648)
This PR fixes an issue caused when building on Windows with MSVC. The problem was introduced in #6341.
MSVC does not correctly infer the default template for its return type. This is fixed by setting the return type to auto and letting the compiler infer the return type.1 parent 830916a commit 1b17d17
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1760 | 1760 | | |
1761 | 1761 | | |
1762 | 1762 | | |
1763 | | - | |
1764 | | - | |
| 1763 | + | |
1765 | 1764 | | |
1766 | 1765 | | |
1767 | 1766 | | |
| |||
0 commit comments