mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-21 05:43:32 -07:00
Merge pull request #8854 from Chocobo1/gcc8
Fix compile warnings on gcc 8
This commit is contained in:
commit
7242d68c4b
1 changed files with 2 additions and 2 deletions
|
@ -2945,7 +2945,7 @@ void Session::setMaxConnectionsPerTorrent(int max)
|
||||||
try {
|
try {
|
||||||
handle.set_max_connections(max);
|
handle.set_max_connections(max);
|
||||||
}
|
}
|
||||||
catch (std::exception) {}
|
catch (const std::exception &) {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2967,7 +2967,7 @@ void Session::setMaxUploadsPerTorrent(int max)
|
||||||
try {
|
try {
|
||||||
handle.set_max_uploads(max);
|
handle.set_max_uploads(max);
|
||||||
}
|
}
|
||||||
catch (std::exception) {}
|
catch (const std::exception &) {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue