summaryrefslogtreecommitdiff
path: root/tools/aapt2/ResourceTable.cpp
diff options
context:
space:
mode:
author Adam Lesinski <adamlesinski@google.com> 2015-11-07 02:31:20 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2015-11-07 02:31:20 +0000
commit6a85b54d504e8854deb6ae96713bc827c0a2ecce (patch)
tree687103041bac015075cdb96304903d1fda19f358 /tools/aapt2/ResourceTable.cpp
parent7d22f8b64c0178132e85679882221469a4d618d3 (diff)
parentb274e35abfbbd09e0fce983a215c11522c56cce2 (diff)
Merge "AAPT2: Fix inclusion of comments in R.java javadoc"
Diffstat (limited to 'tools/aapt2/ResourceTable.cpp')
-rw-r--r--tools/aapt2/ResourceTable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/aapt2/ResourceTable.cpp b/tools/aapt2/ResourceTable.cpp
index fa4b1094434b..deafe206910d 100644
--- a/tools/aapt2/ResourceTable.cpp
+++ b/tools/aapt2/ResourceTable.cpp
@@ -284,7 +284,7 @@ bool ResourceTable::addResourceImpl(const ResourceNameRef& name, const ResourceI
}
const auto endIter = entry->values.end();
- auto iter = std::lower_bound(entry->values.begin(), endIter, config, cmp::lessThan);
+ auto iter = std::lower_bound(entry->values.begin(), endIter, config, cmp::lessThanConfig);
if (iter == endIter || iter->config != config) {
// This resource did not exist before, add it.
entry->values.insert(iter, ResourceConfigValue{ config, std::move(value) });