Merge "SymbolComparator operator() is missing const"

This commit is contained in:
Yi Kong
2017-05-02 18:15:02 +00:00
committed by Gerrit Code Review

View File

@@ -802,7 +802,7 @@ bool ResourceParser::parseAttrImpl(xml::XmlPullParser* parser, ParsedResource* o
}
struct SymbolComparator {
bool operator()(const Attribute::Symbol& a, const Attribute::Symbol& b) {
bool operator()(const Attribute::Symbol& a, const Attribute::Symbol& b) const {
return a.symbol.name.value() < b.symbol.name.value();
}
};