diff options
author | Remko Tronçon <git@el-tramo.be> | 2011-02-14 17:58:02 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2011-02-14 21:36:30 (GMT) |
commit | cad974b45c0fb9355e68d9728e42c9ae3dbcebc7 (patch) | |
tree | 5c3a874d6e28b297aad599656743a79ec74c94c5 /Swiften/LinkLocal | |
parent | de84b90c52a1f367b31eb56beea56c0dceae43f5 (diff) | |
download | swift-contrib-cad974b45c0fb9355e68d9728e42c9ae3dbcebc7.zip swift-contrib-cad974b45c0fb9355e68d9728e42c9ae3dbcebc7.tar.bz2 |
String refactoring.
Removed String::getLength().
Rewrote String::removeAll().
Diffstat (limited to 'Swiften/LinkLocal')
-rw-r--r-- | Swiften/LinkLocal/LinkLocalServiceInfo.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Swiften/LinkLocal/LinkLocalServiceInfo.cpp b/Swiften/LinkLocal/LinkLocalServiceInfo.cpp index d89b6f9..cdde354 100644 --- a/Swiften/LinkLocal/LinkLocalServiceInfo.cpp +++ b/Swiften/LinkLocal/LinkLocalServiceInfo.cpp @@ -46,7 +46,6 @@ ByteArray LinkLocalServiceInfo::toTXTRecord() const { ByteArray LinkLocalServiceInfo::getEncoded(const String& s) { ByteArray sizeByte; sizeByte.resize(1); - assert(s.getLength() < 256); sizeByte[0] = s.getUTF8Size(); return sizeByte + ByteArray(s); } |