summaryrefslogtreecommitdiff
path: root/tools/aapt2/SdkConstants.cpp
diff options
context:
space:
mode:
author Chih-hung Hsieh <chh@google.com> 2016-08-12 18:05:32 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2016-08-12 18:05:32 +0000
commit17bd236b4b6b78c32a187649aa4abcf94e5951c3 (patch)
tree3776aabd2d84938c13edf1644cbdb7044d5bbd65 /tools/aapt2/SdkConstants.cpp
parent76ce8e52422bc6121fb974ef6aab040bb5d9da51 (diff)
parent8bd37ba458633ee7b2aeec0a7593817000aa84b2 (diff)
Merge "Fix clang-tidy warnings in aapt and aapt2."
Diffstat (limited to 'tools/aapt2/SdkConstants.cpp')
-rw-r--r--tools/aapt2/SdkConstants.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/aapt2/SdkConstants.cpp b/tools/aapt2/SdkConstants.cpp
index 9bdae490412f..cd75e98041c3 100644
--- a/tools/aapt2/SdkConstants.cpp
+++ b/tools/aapt2/SdkConstants.cpp
@@ -48,7 +48,7 @@ static bool lessEntryId(const std::pair<uint16_t, size_t>& p, uint16_t entryId)
return p.first < entryId;
}
-size_t findAttributeSdkLevel(ResourceId id) {
+size_t findAttributeSdkLevel(const ResourceId& id) {
if (id.packageId() != 0x01 && id.typeId() != 0x01) {
return 0;
}