summaryrefslogtreecommitdiff
path: root/tools/aapt/CrunchCache.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/aapt/CrunchCache.cpp
parent76ce8e52422bc6121fb974ef6aab040bb5d9da51 (diff)
parent8bd37ba458633ee7b2aeec0a7593817000aa84b2 (diff)
Merge "Fix clang-tidy warnings in aapt and aapt2."
Diffstat (limited to 'tools/aapt/CrunchCache.cpp')
-rw-r--r--tools/aapt/CrunchCache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/aapt/CrunchCache.cpp b/tools/aapt/CrunchCache.cpp
index 0d574cf127dd..7b8a576b88d3 100644
--- a/tools/aapt/CrunchCache.cpp
+++ b/tools/aapt/CrunchCache.cpp
@@ -94,7 +94,7 @@ void CrunchCache::loadFiles()
delete dw;
}
-bool CrunchCache::needsUpdating(String8 relativePath) const
+bool CrunchCache::needsUpdating(const String8& relativePath) const
{
// Retrieve modification dates for this file entry under the source and
// cache directory trees. The vectors will return a modification date of 0