summaryrefslogtreecommitdiff
path: root/tools/aapt2/Debug.cpp
diff options
context:
space:
mode:
author Chih-Hung Hsieh <chh@google.com> 2019-01-04 11:55:42 -0800
committer android-build-merger <android-build-merger@google.com> 2019-01-04 11:55:42 -0800
commitd42fe48c93e0916d923d4877db3ccb222e1898e6 (patch)
tree80aec305f03536f9cefb4641ee388e89f06769c2 /tools/aapt2/Debug.cpp
parentcb53e78f5634b5e46d18f23798a84457f1b5dcf1 (diff)
parentcdf6be573f61f07e59e6cf8e88519f7cd9da47ab (diff)
Merge "Fix/suppress aapt/aapt2 google-explicit-constructor warnings"
am: cdf6be573f Change-Id: I4fbcbdd7e845f2ce7106a85ce8224c17517db1f5
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 {