diff options
author | Remko Tronçon <git@el-tramo.be> | 2009-07-17 07:03:16 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2009-07-17 07:41:26 (GMT) |
commit | 436ae921afbc5c2b461ee9b2d8fa9b1c869ed274 (patch) | |
tree | 9d209712286cc49d4c1f08be5ab8f5b90ef4971c /Swiften/Base | |
parent | 2c954f7e9464b8fdd970eed829e2ba632e8979d8 (diff) | |
download | swift-436ae921afbc5c2b461ee9b2d8fa9b1c869ed274.zip swift-436ae921afbc5c2b461ee9b2d8fa9b1c869ed274.tar.bz2 |
Implement LinkLocalServiceInfo TXT record.
Diffstat (limited to 'Swiften/Base')
-rw-r--r-- | Swiften/Base/ByteArray.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Swiften/Base/ByteArray.h b/Swiften/Base/ByteArray.h index 88e3fae..bcc3756 100644 --- a/Swiften/Base/ByteArray.h +++ b/Swiften/Base/ByteArray.h @@ -55,6 +55,11 @@ namespace Swift { return result; } + ByteArray& operator+=(const ByteArray& b) { + data_.insert(data_.end(), b.data_.begin(), b.data_.end()); + return *this; + } + friend bool operator==(const ByteArray& a, const ByteArray& b) { return a.data_ == b.data_; } |