summaryrefslogtreecommitdiff
path: root/tools/aapt2/Debug.cpp
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2019-01-04 12:09:56 -0800
committerandroid-build-merger <android-build-merger@google.com>2019-01-04 12:09:56 -0800
commit0bf62f1309fc279039b98a5faaa999ac95f9ee24 (patch)
tree394da0e89289d6aa2de3924f99775cb8724510a8 /tools/aapt2/Debug.cpp
parent3c6bc9b14d8dff7d8fa6f4c0a99266d92981f07f (diff)
parentd42fe48c93e0916d923d4877db3ccb222e1898e6 (diff)
Merge "Fix/suppress aapt/aapt2 google-explicit-constructor warnings" am: cdf6be573f
am: d42fe48c93 Change-Id: Ie418def364cdff53ba02a07d9979f10dcd819698
Diffstat (limited to 'tools/aapt2/Debug.cpp')
-rw-r--r--tools/aapt2/Debug.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/aapt2/Debug.cpp b/tools/aapt2/Debug.cpp
index f064cb14248f..e0d7abe4cf43 100644
--- a/tools/aapt2/Debug.cpp
+++ b/tools/aapt2/Debug.cpp
@@ -414,7 +414,7 @@ class XmlPrinter : public xml::ConstVisitor {
public:
using xml::ConstVisitor::Visit;
- XmlPrinter(Printer* printer) : printer_(printer) {
+ explicit XmlPrinter(Printer* printer) : printer_(printer) {
}
void Visit(const xml::Element* el) override {