From 61e95888a07626db3e95d0adc2b16a7aeb7c265e Mon Sep 17 00:00:00 2001 From: Michael Carroll Date: Tue, 19 Jul 2022 12:42:19 -0400 Subject: [PATCH] Clean unused lambda capture warning (#95) Signed-off-by: Michael Carroll --- loader/src/cmd/plugin_main.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loader/src/cmd/plugin_main.cc b/loader/src/cmd/plugin_main.cc index f831c9d5..0c1f5ad4 100644 --- a/loader/src/cmd/plugin_main.cc +++ b/loader/src/cmd/plugin_main.cc @@ -72,7 +72,7 @@ void addPluginFlags(CLI::App &_app) opt->command = PluginCommand::kPluginInfo; }, "Get info about a plugin.")->needs(plugin); - _app.callback([&_app, opt](){ + _app.callback([opt](){ runPluginCommand(*opt); }); }