summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-02-14 18:57:18 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-02-14 21:36:32 (GMT)
commitcb05f5a908e20006c954ce38755c2e422ecc2388 (patch)
treea793551a5fe279a57d4330119560e8542f745484 /Swiften/Elements/Stanza.h
parentcad974b45c0fb9355e68d9728e42c9ae3dbcebc7 (diff)
downloadswift-cb05f5a908e20006c954ce38755c2e422ecc2388.zip
swift-cb05f5a908e20006c954ce38755c2e422ecc2388.tar.bz2
Removed Swift::String.
Diffstat (limited to 'Swiften/Elements/Stanza.h')
-rw-r--r--Swiften/Elements/Stanza.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Swiften/Elements/Stanza.h b/Swiften/Elements/Stanza.h
index 0f07223..9b934e4 100644
--- a/Swiften/Elements/Stanza.h
+++ b/Swiften/Elements/Stanza.h
@@ -13,7 +13,7 @@
#include "Swiften/Elements/Element.h"
#include "Swiften/Elements/Payload.h"
-#include "Swiften/Base/String.h"
+#include <string>
#include "Swiften/Base/foreach.h"
#include "Swiften/JID/JID.h"
@@ -66,8 +66,8 @@ namespace Swift {
const JID& getTo() const { return to_; }
void setTo(const JID& to) { to_ = to; }
- const String& getID() const { return id_; }
- void setID(const String& id) { id_ = id; }
+ const std::string& getID() const { return id_; }
+ void setID(const std::string& id) { id_ = id; }
boost::optional<boost::posix_time::ptime> getTimestamp() const;
@@ -75,7 +75,7 @@ namespace Swift {
boost::optional<boost::posix_time::ptime> getTimestampFrom(const JID& jid) const;
private:
- String id_;
+ std::string id_;
JID from_;
JID to_;