diff options
author | Claudius "keldu" Holeksa <mail@keldu.de> | 2024-07-21 22:24:03 +0200 |
---|---|---|
committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2024-07-21 22:24:03 +0200 |
commit | 498acb5ee9db90aaf01049ae44e098169219398d (patch) | |
tree | a79c5a2cc5bb7aa49cfde2422183644bdbb5cfd5 /modules/core/c++ | |
parent | 6ca91987ec91621577468ebf68fd68fc5433284a (diff) |
wip
Diffstat (limited to 'modules/core/c++')
-rw-r--r-- | modules/core/c++/buffer.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/core/c++/buffer.hpp b/modules/core/c++/buffer.hpp index 87c54a6..5bbd90b 100644 --- a/modules/core/c++/buffer.hpp +++ b/modules/core/c++/buffer.hpp @@ -203,7 +203,7 @@ public: } auto& arr_front = buffer_.front(); - if(size != arr_front.size()){ + if(size != arr_front.read_composite_length()){ return make_error<err::invalid_state>("Can't extract array buffer. Size doesn't match. Use view and copy."); } |