summaryrefslogtreecommitdiff
path: root/tools/aapt2/Debug.cpp
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2019-01-04 12:20:01 -0800
committerandroid-build-merger <android-build-merger@google.com>2019-01-04 12:20:01 -0800
commit3b3be3f10f666f0c9fc368d0567466ee9bb8cc68 (patch)
treef1a91f4089ea24dea0d4ce26dc3f950867205e93 /tools/aapt2/Debug.cpp
parente2ad62f797d794717790ee955c09dd378a4c74bf (diff)
parent0bf62f1309fc279039b98a5faaa999ac95f9ee24 (diff)
Merge "Fix/suppress aapt/aapt2 google-explicit-constructor warnings" am: cdf6be573f am: d42fe48c93
am: 0bf62f1309 Change-Id: Iffb7e4a145b172a35dd58b9450d4a5184d8b07f7
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 9460c9e596e9..5f664f5fdd5c 100644
--- a/tools/aapt2/Debug.cpp
+++ b/tools/aapt2/Debug.cpp
@@ -445,7 +445,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 {