summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-02-14 17:58:02 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-02-14 21:36:30 (GMT)
commitcad974b45c0fb9355e68d9728e42c9ae3dbcebc7 (patch)
tree5c3a874d6e28b297aad599656743a79ec74c94c5 /Swiften/LinkLocal
parentde84b90c52a1f367b31eb56beea56c0dceae43f5 (diff)
downloadswift-cad974b45c0fb9355e68d9728e42c9ae3dbcebc7.zip
swift-cad974b45c0fb9355e68d9728e42c9ae3dbcebc7.tar.bz2
String refactoring.
Removed String::getLength(). Rewrote String::removeAll().
Diffstat (limited to 'Swiften/LinkLocal')
-rw-r--r--Swiften/LinkLocal/LinkLocalServiceInfo.cpp1
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);
}