summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_address.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Tox/src/tox_address.h')
-rw-r--r--protocols/Tox/src/tox_address.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Tox/src/tox_address.h b/protocols/Tox/src/tox_address.h
index 4270e23ee2..f9be08c767 100644
--- a/protocols/Tox/src/tox_address.h
+++ b/protocols/Tox/src/tox_address.h
@@ -32,7 +32,7 @@ public:
}
const bool IsEmpty() const
{
- return hexData.length() == 0;
+ return hexData.empty();
}
const ToxHexAddress GetPubKey() const
{
@@ -45,7 +45,7 @@ public:
}
static ToxHexAddress Empty()
{
- return ToxHexAddress("");
+ return ToxHexAddress("", 0);
}
ToxBinAddress ToBin() const;
};