Skip to content

Commit 46912f6

Browse files
jchlandafabiomestre
authored andcommitted
[SYCL][NFC] Remove unused lambda capture (#11269)
1 parent bed33f7 commit 46912f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

queue.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ UR_APIEXPORT ur_result_t UR_APICALL urQueueFinish(ur_queue_handle_t hQueue) {
204204
ScopedContext active(hQueue->getContext());
205205

206206
hQueue->syncStreams</*ResetUsed=*/true>(
207-
[&Result](CUstream s) { UR_CHECK_ERROR(cuStreamSynchronize(s)); });
207+
[](CUstream s) { UR_CHECK_ERROR(cuStreamSynchronize(s)); });
208208

209209
} catch (ur_result_t Err) {
210210

0 commit comments

Comments
 (0)