Skip to content

Commit bbb9009

Browse files
[SYCL][NFC] Fix CTAD related warnings in tests when built with clang (#7794)
1 parent 7181b4c commit bbb9009

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sycl/unittests/scheduler/GraphCleanup.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,9 +287,9 @@ TEST_F(SchedulerTest, HostTaskCleanup) {
287287
queue Queue{Ctx, default_selector_v};
288288

289289
std::mutex Mutex;
290-
std::unique_lock Lock{Mutex};
290+
std::unique_lock<std::mutex> Lock{Mutex};
291291
event Event = Queue.submit([&](sycl::handler &cgh) {
292-
cgh.host_task([&]() { std::unique_lock Lock{Mutex}; });
292+
cgh.host_task([&]() { std::unique_lock<std::mutex> Lock{Mutex}; });
293293
});
294294
detail::EventImplPtr EventImpl = detail::getSyclObjImpl(Event);
295295

0 commit comments

Comments
 (0)