summaryrefslogtreecommitdiff
path: root/modules/codec/c++/transport.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/codec/c++/transport.hpp')
-rw-r--r--modules/codec/c++/transport.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/codec/c++/transport.hpp b/modules/codec/c++/transport.hpp
index 430f719..110ab3d 100644
--- a/modules/codec/c++/transport.hpp
+++ b/modules/codec/c++/transport.hpp
@@ -21,6 +21,9 @@ private:
public:
error_or<buffer_view> view_slice(buffer& buff) const {
(void) buff;
+
+ buffer_view view{buff};
+
return make_error<err::not_implemented>();
}