Merge remote-tracking branch 'fsub/unused-lambda-capture'

This commit is contained in:
Maxime Coste 2018-03-05 00:39:56 +11:00
commit 6c4faf2050

View File

@ -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)