summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Base')
-rw-r--r--Swiften/Base/SafeString.h4
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;
}