summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-02-15 21:40:52 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-02-15 21:40:52 (GMT)
commit44bc44dee791570909b4b3d5f6f6f9f9ac07bba7 (patch)
tree54f59ca3b3ccc6de3a4225ff486794609a8cb1da /Swiften/JID
parent385100e2bc6bda5d18c4fb833e1e757ef5d5c4a0 (diff)
downloadswift-contrib-44bc44dee791570909b4b3d5f6f6f9f9ac07bba7.zip
swift-contrib-44bc44dee791570909b4b3d5f6f6f9f9ac07bba7.tar.bz2
Make JID constructor with string implicit.
This avoids the need to explicitly contruct a JID where a string is used.
Diffstat (limited to 'Swiften/JID')
-rw-r--r--Swiften/JID/JID.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Swiften/JID/JID.h b/Swiften/JID/JID.h
index 78136ff..4a71841 100644
--- a/Swiften/JID/JID.h
+++ b/Swiften/JID/JID.h
@@ -15,8 +15,8 @@ namespace Swift {
WithResource, WithoutResource
};
- explicit JID(const std::string& = std::string());
- explicit JID(const char*);
+ JID(const std::string& = std::string());
+ JID(const char*);
JID(const std::string& node, const std::string& domain);
JID(const std::string& node, const std::string& domain, const std::string& resource);