summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_address.h
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-03-05 18:01:07 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-03-05 18:01:07 +0000
commit0611ac72c7020b46466309c19622afe0fb3bc122 (patch)
treefb5df43af76edebba590449c1b54922d91b07707 /protocols/Tox/src/tox_address.h
parent4492ddd696ed03f015c7a2de457d0aff6f96de62 (diff)
Tox:
- removed dns3 servers from code - cv2pdb moved to tools git-svn-id: http://svn.miranda-ng.org/main/trunk@12330 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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;
};