mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-04-10 13:40:37 -04:00
Fixed some constness in qrtplib
This commit is contained in:
parent
99f6fef900
commit
6c1f8e2bfc
@ -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);
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user