summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/buffer.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buffer.hh b/src/buffer.hh
index 4d48987f..e99d4725 100644
--- a/src/buffer.hh
+++ b/src/buffer.hh
@@ -61,7 +61,7 @@ public:
// costly, so this is not strictly random access
using iterator_category = std::bidirectional_iterator_tag;
- BufferIterator() noexcept : m_buffer(nullptr) {}
+ BufferIterator() noexcept : m_buffer{nullptr}, m_line{} {}
BufferIterator(const Buffer& buffer, BufferCoord coord) noexcept;
bool operator== (const BufferIterator& iterator) const noexcept;