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 547ac1e commit 5fbde9eCopy full SHA for 5fbde9e
sycl/source/detail/scheduler/scheduler.hpp
@@ -469,7 +469,7 @@ class Scheduler {
469
// It is a deadlock on UNIX in implementation of lock and lock_shared, if
470
// try_lock in the loop above will be executed, so using a single lock here
471
#endif // _WIN32
472
- return std::move(Lock);
+ return Lock;
473
}
474
475
/// Provides shared access to std::shared_timed_mutex object with deadlock
0 commit comments