diff options
author | Remko Tronçon <git@el-tramo.be> | 2011-05-22 09:41:37 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2011-05-22 09:41:37 (GMT) |
commit | 89c7990f5f2668594426693ca691eb0ca379d606 (patch) | |
tree | 140afa8142a40aa0c3e4fd357670d2dd37e652d4 /Swiften/Base | |
parent | 0ddc0c762a7f8936bb8e12f0cf72a7e4a3fcc08f (diff) | |
download | swift-contrib-89c7990f5f2668594426693ca691eb0ca379d606.zip swift-contrib-89c7990f5f2668594426693ca691eb0ca379d606.tar.bz2 |
Added SafeString::clear().
Diffstat (limited to 'Swiften/Base')
-rw-r--r-- | Swiften/Base/SafeString.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Swiften/Base/SafeString.h b/Swiften/Base/SafeString.h index 44b0316..bb6d6c7 100644 --- a/Swiften/Base/SafeString.h +++ b/Swiften/Base/SafeString.h @@ -59,6 +59,10 @@ namespace Swift { return data.size(); } + void clear() { + data.clear(); + } + bool operator==(const SafeString& o) const { return data == o.data; } |