Improve parsing in BitTorrent::PeerAddress::parse

This commit is contained in:
Chocobo1
2019-07-23 14:02:01 +08:00
parent cf47342cec
commit ccec50e18e
2 changed files with 19 additions and 20 deletions

View File

@@ -39,6 +39,6 @@ namespace BitTorrent
QHostAddress ip;
ushort port = 0;
static PeerAddress parse(QString peerAddressStr);
static PeerAddress parse(const QString &address);
};
}