summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Parser/AttributeMap.cpp')
-rw-r--r--Swiften/Parser/AttributeMap.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Swiften/Parser/AttributeMap.cpp b/Swiften/Parser/AttributeMap.cpp
index f6767de..7814a64 100644
--- a/Swiften/Parser/AttributeMap.cpp
+++ b/Swiften/Parser/AttributeMap.cpp
@@ -54,3 +54,7 @@ boost::optional<std::string> AttributeMap::getAttributeValue(const std::string&
54void AttributeMap::addAttribute(const std::string& name, const std::string& ns, const std::string& value) { 54void AttributeMap::addAttribute(const std::string& name, const std::string& ns, const std::string& value) {
55 attributes.push_back(Entry(Attribute(name, ns), value)); 55 attributes.push_back(Entry(Attribute(name, ns), value));
56} 56}
57
58void AttributeMap::addAttribute(const std::string& name, const std::string& ns, const std::string& prefix, const std::string& value) {
59 attributes.push_back(Entry(Attribute(name, ns, prefix), value));
60}