Commit 6b55f58
authored
[SYCL][L0] Fix use of deleted scoped_lock copy constructor (#6304)
#6244 changed the L0 backend to use
std::scoped_lock for various occasions. However, when building with MSVC
some of the uses are done through copying. Since std::scoped_lock has
its copy-constructor deleted this causes the build to fail. This commit
changes this pattern to avoid the copy.
Signed-off-by: Larsen, Steffen <steffen.larsen@intel.com>1 parent f84fc32 commit 6b55f58
1 file changed
+6
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7486 | 7486 | | |
7487 | 7487 | | |
7488 | 7488 | | |
7489 | | - | |
7490 | | - | |
7491 | | - | |
| 7489 | + | |
| 7490 | + | |
7492 | 7491 | | |
7493 | 7492 | | |
7494 | 7493 | | |
| |||
7729 | 7728 | | |
7730 | 7729 | | |
7731 | 7730 | | |
7732 | | - | |
7733 | | - | |
7734 | | - | |
| 7731 | + | |
| 7732 | + | |
7735 | 7733 | | |
7736 | 7734 | | |
7737 | 7735 | | |
| |||
8358 | 8356 | | |
8359 | 8357 | | |
8360 | 8358 | | |
8361 | | - | |
8362 | | - | |
8363 | | - | |
| 8359 | + | |
| 8360 | + | |
8364 | 8361 | | |
8365 | 8362 | | |
8366 | 8363 | | |
| |||
0 commit comments