diff options
Diffstat (limited to 'modules/remote-sycl/c++/data.hpp')
-rw-r--r-- | modules/remote-sycl/c++/data.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/remote-sycl/c++/data.hpp b/modules/remote-sycl/c++/data.hpp index 3ad1d9c..42bc3b1 100644 --- a/modules/remote-sycl/c++/data.hpp +++ b/modules/remote-sycl/c++/data.hpp @@ -13,7 +13,7 @@ class data<Schema, encode::Native, rmt::Sycl> { private: cl::sycl::buffer<data<Schema, encode::Native, storage::Default>> data_; public: - data(data<Schema, encode::Native, storage::Default>& data__): + data(const data<Schema, encode::Native, storage::Default>& data__): data_{&data__, 1u} {} |