summaryrefslogtreecommitdiff
path: root/tools/aapt/Command.cpp
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2016-05-03 10:02:51 -0700
committerChih-Hung Hsieh <chh@google.com>2016-05-03 10:02:51 -0700
commitd53e3bed1ca4a14b2a86d53eaef6969bd043176e (patch)
tree887a75bd3c30064ed2a00c484fd25cbf5d921ccf /tools/aapt/Command.cpp
parent5b93c24bc08d91cd8d6c4701e4dbfa3ddb802753 (diff)
Fix google-explicit-constructor warnings.
Bug: 28341362 Change-Id: I080090d50f1a368a4e7c1a0732297bb6a295e34f
Diffstat (limited to 'tools/aapt/Command.cpp')
-rw-r--r--tools/aapt/Command.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/aapt/Command.cpp b/tools/aapt/Command.cpp
index 9976d00fa872..447ace6e4e47 100644
--- a/tools/aapt/Command.cpp
+++ b/tools/aapt/Command.cpp
@@ -494,7 +494,7 @@ struct ImpliedFeature {
struct Feature {
Feature() : required(false), version(-1) {}
- Feature(bool required, int32_t version = -1) : required(required), version(version) {}
+ explicit Feature(bool required, int32_t version = -1) : required(required), version(version) {}
/**
* Whether the feature is required.