diff options
| author | 2016-08-12 18:05:32 +0000 | |
|---|---|---|
| committer | 2016-08-12 18:05:32 +0000 | |
| commit | 17bd236b4b6b78c32a187649aa4abcf94e5951c3 (patch) | |
| tree | 3776aabd2d84938c13edf1644cbdb7044d5bbd65 /tools/aapt2/SdkConstants.cpp | |
| parent | 76ce8e52422bc6121fb974ef6aab040bb5d9da51 (diff) | |
| parent | 8bd37ba458633ee7b2aeec0a7593817000aa84b2 (diff) | |
Merge "Fix clang-tidy warnings in aapt and aapt2."
Diffstat (limited to 'tools/aapt2/SdkConstants.cpp')
| -rw-r--r-- | tools/aapt2/SdkConstants.cpp | 2 |
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; } |