mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 23:17:21 -06:00
Convert pass-by-value arguments to const refs where applicable
This commit is contained in:
@@ -43,7 +43,7 @@ PeerAddress::PeerAddress()
|
||||
{
|
||||
}
|
||||
|
||||
PeerAddress::PeerAddress(QHostAddress ip, ushort port)
|
||||
PeerAddress::PeerAddress(const QHostAddress &ip, ushort port)
|
||||
: ip(ip)
|
||||
, port(port)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user