summaryrefslogtreecommitdiff
path: root/src/buffer.hh
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2015-11-12 13:59:36 +0000
committerMaxime Coste <frrrwww@gmail.com>2015-11-12 13:59:36 +0000
commit67d1b7dcd15918be38f8949b63b8f5e1a4281514 (patch)
treeae09a0f2f6c49c365575813a60ffeac2e163a069 /src/buffer.hh
parent2113b829df79f1c7427a368c84d3ffdf3d6328ae (diff)
Faster BufferIterator::operator++/--
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 819fd8c9..72c65e5c 100644
--- a/src/buffer.hh
+++ b/src/buffer.hh
@@ -58,7 +58,7 @@ private:
SafePtr<const Buffer> m_buffer;
ByteCoord m_coord;
ByteCount m_line_length;
- LineCount m_line_count;
+ LineCount m_last_line;
};
using BufferLines = Vector<StringDataPtr, MemoryDomain::BufferContent>;