Remove unused lambda capture
This commit is contained in:
parent
7a54c0edfe
commit
44d381ce79
|
@ -1017,7 +1017,7 @@ void keep(Context& context, NormalParams params)
|
||||||
const int main_index = std::min(context.selections().main_index(), saved_reg.size()-1);
|
const int main_index = std::min(context.selections().main_index(), saved_reg.size()-1);
|
||||||
|
|
||||||
regex_prompt(context, prompt.str(), saved_reg[main_index],
|
regex_prompt(context, prompt.str(), saved_reg[main_index],
|
||||||
[saved_reg, reg, main_index]
|
[saved_reg, reg]
|
||||||
(const Regex& regex, PromptEvent event, Context& context) {
|
(const Regex& regex, PromptEvent event, Context& context) {
|
||||||
|
|
||||||
if (event == PromptEvent::Abort)
|
if (event == PromptEvent::Abort)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user