From 89c7990f5f2668594426693ca691eb0ca379d606 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Remko=20Tron=C3=A7on?= Date: Sun, 22 May 2011 11:41:37 +0200 Subject: Added SafeString::clear(). 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; } -- cgit v0.10.2-6-g49f6