summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2009-07-18 19:04:32 (GMT)
committerRemko Tronçon <git@el-tramo.be>2009-07-18 20:40:56 (GMT)
commit4457bc810a326de8d7895b3f2ff36ade5f1ae1a0 (patch)
tree1556c4b0190453897d4799d23b05e651b0bb8a32 /Swiften/Base
parent4052a822acd9da9dab6a8e2343c6170fb08dd8d6 (diff)
downloadswift-contrib-4457bc810a326de8d7895b3f2ff36ade5f1ae1a0.zip
swift-contrib-4457bc810a326de8d7895b3f2ff36ade5f1ae1a0.tar.bz2
Implement incoming linklocal connections.
Diffstat (limited to 'Swiften/Base')
-rw-r--r--Swiften/Base/String.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Swiften/Base/String.h b/Swiften/Base/String.h
index 0da2e39..247a8a3 100644
--- a/Swiften/Base/String.h
+++ b/Swiften/Base/String.h
@@ -87,6 +87,11 @@ namespace Swift {
return *this;
}
+ String& operator=(const String& o) {
+ data_ = o.data_;
+ return *this;
+ }
+
friend bool operator>(const String& a, const String& b) {
return a.data_ > b.data_;
}