diff options
| author | 2017-05-01 10:57:39 -0700 | |
|---|---|---|
| committer | 2017-05-01 10:57:39 -0700 | |
| commit | b1d8144ef07200ef6a56ec26ef53653c008ae561 (patch) | |
| tree | 372d0461f6586cddff13b5e92ccd3e039eee7b8d /tools/aapt2/ResourceParser.cpp | |
| parent | 169681db26feb6d45fa6095cdc17c0cac0bf2ed9 (diff) | |
SymbolComparator operator() is missing const
Clean up, no functionality change.
Test: build
Bug: 37752547
Change-Id: I7b6f368c0d0776f956a8b99353df7b23cbbc388d
Diffstat (limited to 'tools/aapt2/ResourceParser.cpp')
| -rw-r--r-- | tools/aapt2/ResourceParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/aapt2/ResourceParser.cpp b/tools/aapt2/ResourceParser.cpp index a84c306e2733..e2ee603ca916 100644 --- a/tools/aapt2/ResourceParser.cpp +++ b/tools/aapt2/ResourceParser.cpp @@ -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(); } }; |