summaryrefslogtreecommitdiff
path: root/src/buffer.cc
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2011-09-17 14:13:33 +0000
committerMaxime Coste <frrrwww@gmail.com>2011-09-17 14:13:33 +0000
commit34c9b0d30fe157b52b302a71e2ef73ceba86fab0 (patch)
tree313788609d3de768d2b5e5bab86ea2861cf64688 /src/buffer.cc
parent49fce28dec18cb5b0af3e169e3b2ef31b99a6aa6 (diff)
LineAndColumn: move to it's own header and add operator[+-]=?
LineAndColumn is now a template so that WindowCoords and BufferCoords cannot be added together.
Diffstat (limited to 'src/buffer.cc')
-rw-r--r--src/buffer.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/buffer.cc b/src/buffer.cc
index 1997cf81..2adb1b2c 100644
--- a/src/buffer.cc
+++ b/src/buffer.cc
@@ -3,6 +3,7 @@
#include "buffer_manager.hh"
#include "window.hh"
#include "assert.hh"
+#include "utils.hh"
#include <algorithm>