Fixed some constness in qrtplib

pull/308/head
f4exb 2019-03-09 09:17:10 +01:00
rodzic 99f6fef900
commit 6c1f8e2bfc
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -77,7 +77,7 @@ bool RTPAddress::IsFromSameHost(const RTPAddress *addr) const
return addr->address == address;
}
bool RTPAddress::operator==(const RTPAddress& otherAddress)
bool RTPAddress::operator==(const RTPAddress& otherAddress) const
{
return IsSameAddress(&otherAddress);
}

Wyświetl plik

@ -94,7 +94,7 @@ public:
bool IsFromSameHost(const RTPAddress *addr) const;
/** Equality */
bool operator==(const RTPAddress& otherAddress);
bool operator==(const RTPAddress& otherAddress) const;
/** Get host address */
const QHostAddress& getAddress() const