Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
JohanMabille committed Mar 26, 2024
1 parent b33e730 commit 93f7405
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/sparrow/variable_size_binary_layout.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ namespace sparrow
template <class T, class R, class CR, layout_offset OT>
auto variable_size_binary_layout<T, R, CR, OT>::size() const -> size_type
{
assert(m_data.offset <= m_data.lenght);
assert(m_data.offset <= m_data.length);
return static_cast<size_type>(m_data.length - m_data.offset);
}

Expand Down

0 comments on commit 93f7405

Please sign in to comment.