summaryrefslogtreecommitdiff
path: root/src/utils.hh
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/utils.hh
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/utils.hh')
-rw-r--r--src/utils.hh9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/utils.hh b/src/utils.hh
index 5b219b2e..5f6e93a5 100644
--- a/src/utils.hh
+++ b/src/utils.hh
@@ -8,15 +8,6 @@
namespace Kakoune
{
-struct LineAndColumn
-{
- int line;
- int column;
-
- LineAndColumn(int line = 0, int column = 0)
- : line(line), column(column) {}
-};
-
template<typename Container>
struct ReversedContainer
{