Convert pass-by-value arguments to const refs where applicable

This commit is contained in:
thalieht
2019-02-12 02:45:30 +02:00
parent ca3ce87e06
commit 445adb0ab4
18 changed files with 84 additions and 84 deletions

View File

@@ -43,7 +43,7 @@ PeerAddress::PeerAddress()
{
}
PeerAddress::PeerAddress(QHostAddress ip, ushort port)
PeerAddress::PeerAddress(const QHostAddress &ip, ushort port)
: ip(ip)
, port(port)
{