diff options
author | Claudius "keldu" Holeksa <mail@keldu.de> | 2024-07-20 16:57:22 +0200 |
---|---|---|
committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2024-07-20 16:57:22 +0200 |
commit | f802fb4d988a9b6ebfe49120343561232396cab6 (patch) | |
tree | 7a42c5fc58967019c86cb7dcc656901b1b36a83c /modules/codec | |
parent | 53d47a9a5a8130e5af1215bbb2c2fb663a81dc30 (diff) |
wip
Diffstat (limited to 'modules/codec')
-rw-r--r-- | modules/codec/c++/simple.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/codec/c++/simple.hpp b/modules/codec/c++/simple.hpp index b0b353e..1afdc33 100644 --- a/modules/codec/c++/simple.hpp +++ b/modules/codec/c++/simple.hpp @@ -18,6 +18,10 @@ private: public: data() = default; + data(ring_buffer buffer__): + buffer_{std::move(buffer__)} + {} + buffer& get_buffer(){ return buffer_; } |