From 6a7193cf63f0f6b0b143f80f2d37b5186ba80fdd Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Fri, 23 Nov 2012 18:35:05 +0100 Subject: [PATCH] filter: minor code cleanup --- src/filter.hh | 3 +-- src/filters.cc | 1 + 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 {