std::string subtag;
std::string description;
- bool operator== (SubtagData const& other) {
+ bool operator== (SubtagData const& other) const {
return subtag == other.subtag && description == other.description;
}
};
virtual SubtagType type () const = 0;
- bool operator== (Subtag const& other) {
+ bool operator== (Subtag const& other) const {
return _subtag == other._subtag;
}