summaryrefslogtreecommitdiff
path: root/tools/aapt2/LoadedApk.cpp
diff options
context:
space:
mode:
author Yurii Zubrytskyi <zyy@google.com> 2022-11-02 17:49:49 -0700
committer Yurii Zubrytskyi <zyy@google.com> 2022-11-29 21:46:02 -0800
commita577514789fc241abe15f793a66f19d6431f7769 (patch)
tree662d9566d115f8bf76444ba8cbc18385255e53ab /tools/aapt2/LoadedApk.cpp
parent0eef7918aab2a7582b019d88967e8437b101991c (diff)
Make StringPiece to be std::string_view alias
Bug: 237583012 Test: build + boot + UTs Change-Id: I849831f4466d3b9c7ec842b75256e7fcba77a0c0
Diffstat (limited to 'tools/aapt2/LoadedApk.cpp')
-rw-r--r--tools/aapt2/LoadedApk.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/aapt2/LoadedApk.cpp b/tools/aapt2/LoadedApk.cpp
index 9b9cde2f37da..6b1fd9ff11eb 100644
--- a/tools/aapt2/LoadedApk.cpp
+++ b/tools/aapt2/LoadedApk.cpp
@@ -72,7 +72,7 @@ static ApkFormat DetermineApkFormat(io::IFileCollection* apk) {
}
}
-std::unique_ptr<LoadedApk> LoadedApk::LoadApkFromPath(const StringPiece& path,
+std::unique_ptr<LoadedApk> LoadedApk::LoadApkFromPath(StringPiece path,
android::IDiagnostics* diag) {
android::Source source(path);
std::string error;