Skip to content

Commit 96cd4ac

Browse files
Fznamznonbader
authored andcommitted
Apply suggestion from CR
Signed-off-by: Mariya Podchishchaeva <[email protected]>
1 parent 9040739 commit 96cd4ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/include/CL/sycl/detail/queue_impl.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ class queue_impl {
128128
if (m_AsyncHandler && m_Exceptions.size()) {
129129
exception_list Exceptions;
130130
std::swap(m_Exceptions, Exceptions);
131-
m_AsyncHandler(Exceptions);
131+
m_AsyncHandler(std::move(Exceptions));
132132
}
133133
}
134134

0 commit comments

Comments
 (0)