diff options
Diffstat (limited to 'Swiften/Parser/AttributeMap.cpp')
| -rw-r--r-- | Swiften/Parser/AttributeMap.cpp | 4 |
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& | |||
| 54 | void AttributeMap::addAttribute(const std::string& name, const std::string& ns, const std::string& value) { | 54 | void 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 | |||
| 58 | void 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 | } | ||
Swift