mirror of
https://github.com/transmission/transmission.git
synced 2026-02-14 23:19:34 +00:00
warning: function 'TorrentFilter::match_mode' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name]
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user