warning: function 'TorrentFilter::match_mode' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name]

This commit is contained in:
Charles Kerr
2026-01-31 23:29:50 -06:00
parent b880ef6d47
commit 618d11ec94

View File

@@ -170,11 +170,11 @@ Glib::RefPtr<TorrentFilter> TorrentFilter::create()
return Glib::make_refptr_for_instance(new TorrentFilter());
}
bool TorrentFilter::match_mode(Torrent const& torrent, ShowMode const type)
bool TorrentFilter::match_mode(Torrent const& torrent, ShowMode const mode)
{
auto activity = tr_torrent_activity();
switch (type)
switch (mode)
{
case ShowMode::ShowAll:
return true;