summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorClaudius 'keldu' Holeksa <mail@keldu.de>2024-09-04 15:36:29 +0200
committerClaudius 'keldu' Holeksa <mail@keldu.de>2024-09-04 15:36:29 +0200
commit89c37ae7d84beb08ed99539bee972c241075d45e (patch)
tree132560baf2e057f349fff15283fa76dd310f1dae /modules
parent6549acd69973cee030c9c73e55470094221b212e (diff)
Fixing the forced use of ring buffers
Diffstat (limited to 'modules')
-rw-r--r--modules/remote-hip/c++/data.hpp8
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_};
+ }
};
}