summaryrefslogtreecommitdiff
path: root/tools/aapt2/ManifestParser.h
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/ManifestParser.h
parent76ce8e52422bc6121fb974ef6aab040bb5d9da51 (diff)
parent8bd37ba458633ee7b2aeec0a7593817000aa84b2 (diff)
Merge "Fix clang-tidy warnings in aapt and aapt2."
Diffstat (limited to 'tools/aapt2/ManifestParser.h')
-rw-r--r--tools/aapt2/ManifestParser.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/aapt2/ManifestParser.h b/tools/aapt2/ManifestParser.h
index f2e43d4bb695..76201abd6a93 100644
--- a/tools/aapt2/ManifestParser.h
+++ b/tools/aapt2/ManifestParser.h
@@ -33,10 +33,10 @@ public:
ManifestParser() = default;
ManifestParser(const ManifestParser&) = delete;
- bool parse(const Source& source, std::shared_ptr<XmlPullParser> parser, AppInfo* outInfo);
+ bool parse(const Source& source, const std::shared_ptr<XmlPullParser>& parser, AppInfo* outInfo);
private:
- bool parseManifest(SourceLogger& logger, std::shared_ptr<XmlPullParser> parser,
+ bool parseManifest(SourceLogger& logger, const std::shared_ptr<XmlPullParser>& parser,
AppInfo* outInfo);
};