diff options
| author | 2017-05-02 05:44:56 +0000 | |
|---|---|---|
| committer | 2017-05-02 05:44:58 +0000 | |
| commit | 0d12a2aa35b3b93d81645e93d2fcf915864934a6 (patch) | |
| tree | e388d6e6873158fed4bd365fe25b04c18f1fa0fa | |
| parent | b4d4dbc5c3ac7d097a596b133eabd703f00549b4 (diff) | |
| parent | b4be87198a4a674036aebaeed84b61c6e6b4e7b5 (diff) | |
Merge "StringReference comparator operator is missing const"
| -rw-r--r-- | runtime/string_reference.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/string_reference.h b/runtime/string_reference.h index 0fc06e6389..6ba47736ec 100644 --- a/runtime/string_reference.h +++ b/runtime/string_reference.h @@ -41,7 +41,7 @@ struct StringReference { // Compare only the reference and not the string contents. struct StringReferenceComparator { - bool operator()(const StringReference& a, const StringReference& b) { + bool operator()(const StringReference& a, const StringReference& b) const { if (a.dex_file != b.dex_file) { return a.dex_file < b.dex_file; } |