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 e42e936 commit c4fd965Copy full SHA for c4fd965
sycl/include/sycl/ext/oneapi/experimental/async_alloc/memory_pool.hpp
@@ -90,7 +90,8 @@ class __SYCL_EXPORT memory_pool {
90
protected:
91
std::shared_ptr<detail::memory_pool_impl> impl;
92
93
- memory_pool(std::shared_ptr<detail::memory_pool_impl> Impl) : impl(Impl) {}
+ memory_pool(std::shared_ptr<detail::memory_pool_impl> Impl)
94
+ : impl(std::move(Impl)) {}
95
96
template <class Obj>
97
friend const decltype(Obj::impl) &
0 commit comments