diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2012-03-12 21:31:27 +0000 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2012-03-12 21:31:27 +0000 |
| commit | 3c105592e0ebc9e83938d6a90ca4bd1fbb6fdd2d (patch) | |
| tree | 288d9c44bbee6d5fb5bedcecc370f2740956dc06 /src/buffer.hh | |
| parent | 97b8905a6de553d0905f40cb2d2c2bfcd341bdb7 (diff) | |
get rid of Buffer::compute_lines
Diffstat (limited to 'src/buffer.hh')
| -rw-r--r-- | src/buffer.hh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/buffer.hh b/src/buffer.hh index 6e881e92..00b7764c 100644 --- a/src/buffer.hh +++ b/src/buffer.hh @@ -172,11 +172,10 @@ private: friend class BufferIterator; std::vector<BufferPos> m_lines; + void update_lines(const Modification& modification); - void compute_lines(); BufferPos line_at(const BufferIterator& iterator) const; BufferSize line_length(BufferPos line) const; - void update_lines(const Modification& modification); String m_content; |
