Skip to content

Commit

Permalink
fix bad copy/paste
Browse files Browse the repository at this point in the history
  • Loading branch information
jkoritzinsky committed Oct 17, 2024
1 parent 76778fc commit a27ac4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/interfaces/signatures.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ struct base_inline_span : public span<T>
{
// Growing the buffer from the inline buffer to a non-inline buffer.
assert(this->size() <= NumInlineElements && newSize > NumInlineElements);
T* newPtr = base_inline_span::allocate_noninline_memory(size);
T* newPtr = base_inline_span::allocate_noninline_memory(this->size());
std::copy(this->begin(), this->end(), newPtr);
this->_ptr = newPtr;
this->_size = newSize;
Expand Down

0 comments on commit a27ac4f

Please sign in to comment.