Brett 2023-10-25 01:26:44 -04:00
parent 82583a444d
commit 96af65a675
1 changed files with 5 additions and 5 deletions

View File

@ -223,11 +223,6 @@ namespace blt
return _buffer; return _buffer;
} }
ptr_iterator<T> begin()
{
return ptr_iterator{_buffer};
}
inline T* data() const inline T* data() const
{ {
return _buffer; return _buffer;
@ -238,6 +233,11 @@ namespace blt
return ptr_iterator{_buffer}; return ptr_iterator{_buffer};
} }
ptr_iterator<T> begin()
{
return ptr_iterator{_buffer};
}
ptr_iterator<T> end() ptr_iterator<T> end()
{ {
return ptr_iterator{&_buffer[_size]}; return ptr_iterator{&_buffer[_size]};