Commit 77dbc1b9 authored by Ronan's avatar Ronan

fix(Address): return correctly boolean in isValid

parent b9f9dc1c
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment