summaryrefslogtreecommitdiff
path: root/tools/aapt2/ResourceTable_test.cpp
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2016-04-27 11:29:23 -0700
committerChih-Hung Hsieh <chh@google.com>2016-04-27 11:38:12 -0700
commitc6baf563ba6aa207a48317c177b29f1d2b70cf3d (patch)
tree38cb5ab3e8ce0ebe0bcdace644378ad037adb37f /tools/aapt2/ResourceTable_test.cpp
parentcd4f7e12037acd16f500dc9a4be98e51fe58a11b (diff)
Fix google-explicit-constructor warnings.
Bug: 28341362 Change-Id: Ibdd6a210bb7ff228e3624cc319169f77aca3b51e
Diffstat (limited to 'tools/aapt2/ResourceTable_test.cpp')
-rw-r--r--tools/aapt2/ResourceTable_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/aapt2/ResourceTable_test.cpp b/tools/aapt2/ResourceTable_test.cpp
index 06d8699730de..d3b9af32c945 100644
--- a/tools/aapt2/ResourceTable_test.cpp
+++ b/tools/aapt2/ResourceTable_test.cpp
@@ -28,7 +28,7 @@ namespace aapt {
struct TestValue : public Value {
std::u16string value;
- TestValue(StringPiece16 str) : value(str.toString()) {
+ explicit TestValue(StringPiece16 str) : value(str.toString()) {
}
TestValue* clone(StringPool* /*newPool*/) const override {