diff options
author | Chih-Hung Hsieh <chh@google.com> | 2016-04-27 11:29:23 -0700 |
---|---|---|
committer | Chih-Hung Hsieh <chh@google.com> | 2016-04-27 11:38:12 -0700 |
commit | c6baf563ba6aa207a48317c177b29f1d2b70cf3d (patch) | |
tree | 38cb5ab3e8ce0ebe0bcdace644378ad037adb37f /tools/aapt2/ResourceTable_test.cpp | |
parent | cd4f7e12037acd16f500dc9a4be98e51fe58a11b (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.cpp | 2 |
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 { |