summaryrefslogtreecommitdiff
path: root/src/buffer.hh
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2016-07-15 19:48:13 +0100
committerMaxime Coste <frrrwww@gmail.com>2016-07-15 19:48:13 +0100
commit4ecdbea5c481ae1b4c1c3daad77c4b795b624f40 (patch)
tree012f6888db565fbf646c05058da0a6e4b7cecbe4 /src/buffer.hh
parentb988871df6636c1b7d5938d1ac2d2700a6a59158 (diff)
Make buffer iterator iteration/dereference faster
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 21f960f2..98806296 100644
--- a/src/buffer.hh
+++ b/src/buffer.hh
@@ -84,8 +84,8 @@ public:
private:
SafePtr<const Buffer> m_buffer;
+ StringView m_line;
ByteCoord m_coord;
- ByteCount m_line_length;
LineCount m_last_line;
};