From 89c37ae7d84beb08ed99539bee972c241075d45e Mon Sep 17 00:00:00 2001 From: Claudius 'keldu' Holeksa Date: Wed, 4 Sep 2024 15:36:29 +0200 Subject: Fixing the forced use of ring buffers --- modules/remote-hip/c++/data.hpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'modules') 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 class data> { private: + data data_; public: - data(const data& data__) + data(const data& data__): + data_{data__} {} + + ref> get_data() { + return {data_}; + } }; } -- cgit v1.2.3