From 340fc63f8472934060525325081fe34bd1f0752f Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Mon, 2 Feb 2015 18:46:55 +0000 Subject: [PATCH] Improve code compatibility --- src/hash.hh | 2 ++ src/main.cc | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/hash.hh b/src/hash.hh index 838fdffa..6586edfd 100644 --- a/src/hash.hh +++ b/src/hash.hh @@ -4,6 +4,8 @@ #include #include +#include + namespace Kakoune { diff --git a/src/main.cc b/src/main.cc index bcef9c87..0d7172be 100644 --- a/src/main.cc +++ b/src/main.cc @@ -437,7 +437,7 @@ int run_filter(StringView keystr, ArrayView files, bool quiet) try { InputHandler input_handler{ - { buffer, {{0,0}, buffer.back_coord()} }, + { buffer, Selection{{0,0}, buffer.back_coord()} }, Context::Flags::Transient };