summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2012-11-23 18:35:05 +0100
committerMaxime Coste <frrrwww@gmail.com>2012-11-23 18:35:05 +0100
commit6a7193cf63f0f6b0b143f80f2d37b5186ba80fdd (patch)
treea161764a1514595c3f039fa2ec8873edf89c88b2 /src
parentecd556db59d8e6e5ce01433db6f000930e5c6084 (diff)
filter: minor code cleanup
Diffstat (limited to 'src')
-rw-r--r--src/filter.hh3
-rw-r--r--src/filters.cc1
2 files changed, 2 insertions, 2 deletions
diff --git a/src/filter.hh b/src/filter.hh
index 28fa0202..f1b11ca0 100644
--- a/src/filter.hh
+++ b/src/filter.hh
@@ -6,14 +6,13 @@
#include "string.hh"
#include "utils.hh"
#include "memoryview.hh"
-#include "selection.hh"
#include "function_registry.hh"
namespace Kakoune
{
class Buffer;
-class BufferIterator;
+class Selection;
// A Filter is a function which is applied to a Buffer and a pending
// Modification in order to mutate the Buffer or the Modification
diff --git a/src/filters.cc b/src/filters.cc
index 4503aecf..a08a19d2 100644
--- a/src/filters.cc
+++ b/src/filters.cc
@@ -1,6 +1,7 @@
#include "filters.hh"
#include "buffer.hh"
#include "filter_group.hh"
+#include "selection.hh"
namespace Kakoune
{