Commit b994a00
committed
[SYCL] Coverity scan fixes for intel#17380
Changes in intel#17380 introduced some Coverity detected issues. This commit
fixes the following issues:
1. Removes noexcept from get_bin_image_ref as it can now potentially
throw through std::variant interfaces.
2. Adheres to rule-of-three in ManagedDeviceGlobalsRegistry and
ManagedDeviceBinaries.
Signed-off-by: Larsen, Steffen <[email protected]>1 parent 0c60d95 commit b994a00
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
69 | 72 | | |
70 | 73 | | |
71 | 74 | | |
| |||
128 | 131 | | |
129 | 132 | | |
130 | 133 | | |
| 134 | + | |
| 135 | + | |
131 | 136 | | |
132 | 137 | | |
133 | 138 | | |
| |||
518 | 523 | | |
519 | 524 | | |
520 | 525 | | |
521 | | - | |
| 526 | + | |
522 | 527 | | |
523 | 528 | | |
524 | 529 | | |
| |||
0 commit comments