Commit c2c6baf
authored
[SYCL] Fix constexpr string size in mock plugin (#6866)
#6852 incidentally used a
non-constexpr solution for determining the size of a string, which
causes failures in select build configurations. This commit amends this
by using sizeof on a static array of characters instead of std::strlen.
Signed-off-by: Larsen, Steffen <[email protected]>1 parent 04c54fb commit c2c6baf
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
53 | | - | |
| 52 | + | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| |||
0 commit comments