Skip to content

Commit

Permalink
Clean unused lambda capture warning (#95)
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Carroll <[email protected]>
  • Loading branch information
mjcarroll authored Jul 19, 2022
1 parent cd018d0 commit 61e9588
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion loader/src/cmd/plugin_main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
}
Expand Down

0 comments on commit 61e9588

Please sign in to comment.