Commit d92a169b authored by Francois Cartegnie's avatar Francois Cartegnie

demux: dash: const correctness

parent 0785e30c
......@@ -62,7 +62,7 @@ void Node::setName (const std::stri
this->name = name;
}
bool Node::hasAttribute (const std::string& name)
bool Node::hasAttribute (const std::string& name) const
{
if(this->attributes.find(name) != this->attributes.end())
return true;
......
......@@ -44,7 +44,7 @@ namespace dash
void addSubNode (Node *node);
const std::string& getName () const;
void setName (const std::string& name);
bool hasAttribute (const std::string& name);
bool hasAttribute (const std::string& name) const;
void addAttribute (const std::string& key, const std::string& value);
const std::string& getAttributeValue (const std::string& key) const;
std::vector<std::string> getAttributeKeys () const;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment