BufferIterator is random access, not just bidirectional
This commit is contained in:
parent
14f59d415d
commit
14198fadb4
|
@ -55,7 +55,7 @@ public:
|
|||
using difference_type = ssize_t;
|
||||
using pointer = const value_type*;
|
||||
using reference = const value_type&;
|
||||
using iterator_category = std::bidirectional_iterator_tag;
|
||||
using iterator_category = std::random_access_iterator_tag;
|
||||
|
||||
BufferIterator() : m_buffer(nullptr) {}
|
||||
BufferIterator(const Buffer& buffer, ByteCoord coord);
|
||||
|
|
Loading…
Reference in New Issue
Block a user