From 44d381ce7952feffd556b16bb8f1cd5f9a1485e6 Mon Sep 17 00:00:00 2001 From: fsub <31548809+fsub@users.noreply.github.com> Date: Sat, 3 Mar 2018 17:57:51 +0100 Subject: [PATCH] Remove unused lambda capture --- src/normal.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/normal.cc b/src/normal.cc index 176f8c0c..882c3986 100644 --- a/src/normal.cc +++ b/src/normal.cc @@ -1017,7 +1017,7 @@ void keep(Context& context, NormalParams params) const int main_index = std::min(context.selections().main_index(), saved_reg.size()-1); regex_prompt(context, prompt.str(), saved_reg[main_index], - [saved_reg, reg, main_index] + [saved_reg, reg] (const Regex& regex, PromptEvent event, Context& context) { if (event == PromptEvent::Abort)