mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-07 14:18:25 +00:00
fix(Address): return correctly boolean in isValid
This commit is contained in:
parent
b9f9dc1c5b
commit
77dbc1b9ba
2 changed files with 2 additions and 2 deletions
|
|
@ -55,7 +55,7 @@ LINPHONE_BEGIN_NAMESPACE
|
|||
#if defined(_MSC_VER)
|
||||
#define LINPHONE_DEPRECATED __declspec(deprecated)
|
||||
#else
|
||||
#define LINPHONE_DEPRECATED __attribute__ ((deprecated))
|
||||
#define LINPHONE_DEPRECATED __attribute__((deprecated))
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ bool Address::operator< (const Address &address) const {
|
|||
|
||||
bool Address::isValid () const {
|
||||
L_D();
|
||||
d->internalAddress;
|
||||
return !!d->internalAddress;
|
||||
}
|
||||
|
||||
const string &Address::getScheme () const {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue