diff options
Diffstat (limited to 'Swiften/Parser/Attribute.h')
-rw-r--r-- | Swiften/Parser/Attribute.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/Swiften/Parser/Attribute.h b/Swiften/Parser/Attribute.h index 1c4ad77..f54317e 100644 --- a/Swiften/Parser/Attribute.h +++ b/Swiften/Parser/Attribute.h @@ -9,25 +9,25 @@ #include <string> namespace Swift { - class Attribute { - public: - Attribute(const std::string& name, const std::string& ns) : name(name), ns(ns) { - } + class Attribute { + public: + Attribute(const std::string& name, const std::string& ns) : name(name), ns(ns) { + } - const std::string& getName() const { - return name; - } + const std::string& getName() const { + return name; + } - const std::string& getNamespace() const { - return ns; - } + const std::string& getNamespace() const { + return ns; + } - bool operator==(const Attribute& o) const { - return o.name == name && o.ns == ns; - } + bool operator==(const Attribute& o) const { + return o.name == name && o.ns == ns; + } - private: - std::string name; - std::string ns; - }; + private: + std::string name; + std::string ns; + }; } |