From 30b8360c08d2d1a8b329526413c7b632ed0da846 Mon Sep 17 00:00:00 2001 From: Michael Carroll Date: Tue, 19 Jul 2022 10:58:46 -0500 Subject: [PATCH] Clean unused lambda capture warning 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); }); }