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 {