diff options
author | Claudius 'keldu' Holeksa <mail@keldu.de> | 2024-09-04 15:36:29 +0200 |
---|---|---|
committer | Claudius 'keldu' Holeksa <mail@keldu.de> | 2024-09-04 15:36:29 +0200 |
commit | 89c37ae7d84beb08ed99539bee972c241075d45e (patch) | |
tree | 132560baf2e057f349fff15283fa76dd310f1dae | |
parent | 6549acd69973cee030c9c73e55470094221b212e (diff) |
Fixing the forced use of ring buffers
-rw-r--r-- | modules/remote-hip/c++/data.hpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/modules/remote-hip/c++/data.hpp b/modules/remote-hip/c++/data.hpp index 04c8111..5e8e6f9 100644 --- a/modules/remote-hip/c++/data.hpp +++ b/modules/remote-hip/c++/data.hpp @@ -11,8 +11,14 @@ namespace saw { template<typename Schema> class data<Schema, encode::Hip<encode::Native>> { private: + data<Schema, encode::Native> data_; public: - data(const data<Schema, encode::Native>& data__) + data(const data<Schema, encode::Native>& data__): + data_{data__} {} + + ref<data<Schema, encode::Native>> get_data() { + return {data_}; + } }; } |