diff options
Diffstat (limited to 'src/buffer.hh')
| -rw-r--r-- | src/buffer.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buffer.hh b/src/buffer.hh index 581321bc..90c1bb11 100644 --- a/src/buffer.hh +++ b/src/buffer.hh @@ -24,7 +24,7 @@ public: using difference_type = size_t; using pointer = const value_type*; using reference = const value_type&; - using iterator_category = std::random_access_iterator_tag; + using iterator_category = std::bidirectional_iterator_tag; BufferIterator() : m_buffer(nullptr) {} BufferIterator(const Buffer& buffer, ByteCoord coord); |
