summaryrefslogtreecommitdiff
path: root/src/buffer.hh
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2018-12-20 19:47:19 +1100
committerMaxime Coste <mawww@kakoune.org>2019-01-20 22:59:28 +1100
commit30897fd820df7bb572b7599abeb84715128e4117 (patch)
tree9bfcf51f7126aa2ae833c753a5559fb32c38ec8e /src/buffer.hh
parent7b29192c247bb203d690935041217ec40afe1310 (diff)
Fix warning on gcc 8
Diffstat (limited to 'src/buffer.hh')
-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;