summaryrefslogtreecommitdiff
path: root/tools/aapt2/Debug.cpp
diff options
context:
space:
mode:
author Treehugger Robot <treehugger-gerrit@google.com> 2019-01-04 19:34:30 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2019-01-04 19:34:30 +0000
commitcdf6be573f61f07e59e6cf8e88519f7cd9da47ab (patch)
treeaed2dad2df847dd375759f3ab6378466a9abe482 /tools/aapt2/Debug.cpp
parentbd7379858523c4e06175ee6cd92b46750d05b1dd (diff)
parent1fc78e1814d6e1ad8d49e905a569d2589bbb2b8f (diff)
Merge "Fix/suppress aapt/aapt2 google-explicit-constructor warnings"
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 {