We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 647a8fb commit 5b3a159Copy full SHA for 5b3a159
sycl/source/detail/queue_impl.hpp
@@ -718,9 +718,10 @@ class queue_impl {
718
std::optional<event> popExternalEvent() {
719
std::optional<event> Result = std::nullopt;
720
721
- MInOrderExternalEvent.unset([&](std::optional<event> &InOrderExternalEvent) {
722
- std::swap(Result, InOrderExternalEvent);
723
- });
+ MInOrderExternalEvent.unset(
+ [&](std::optional<event> &InOrderExternalEvent) {
+ std::swap(Result, InOrderExternalEvent);
724
+ });
725
return Result;
726
}
727
0 commit comments