commit | d53e3bed1ca4a14b2a86d53eaef6969bd043176e | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Tue May 03 10:02:51 2016 -0700 |
committer | Chih-Hung Hsieh <chh@google.com> | Tue May 03 10:02:51 2016 -0700 |
tree | 887a75bd3c30064ed2a00c484fd25cbf5d921ccf | |
parent | 5b93c24bc08d91cd8d6c4701e4dbfa3ddb802753 [diff] |
Fix google-explicit-constructor warnings. Bug: 28341362 Change-Id: I080090d50f1a368a4e7c1a0732297bb6a295e34f
diff --git a/tools/aapt2/proto/TableProtoDeserializer.cpp b/tools/aapt2/proto/TableProtoDeserializer.cpp index 82e4fb0..6489b86 100644 --- a/tools/aapt2/proto/TableProtoDeserializer.cpp +++ b/tools/aapt2/proto/TableProtoDeserializer.cpp
@@ -30,7 +30,7 @@ public: using ValueVisitor::visit; - ReferenceIdToNameVisitor(const std::map<ResourceId, ResourceNameRef>* mapping) : + explicit ReferenceIdToNameVisitor(const std::map<ResourceId, ResourceNameRef>* mapping) : mMapping(mapping) { assert(mMapping); }