commit | d7791be04b7572dbcb8c683408e66ce7184841f2 | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Tue Jul 12 11:58:02 2016 -0700 |
committer | Chih-Hung Hsieh <chh@google.com> | Tue Jul 12 11:58:02 2016 -0700 |
tree | 0690d75e5c0b0c156a55854fbd5238d837237060 | |
parent | 8f8ed7f3f4b62b57f12e0055fb740cc78e407ed9 [diff] [blame] |
Fix google-explicit-constructor warnings in keystore. Declare explicit conversion constructors. Bug: 28341362 Change-Id: Ibd0d6b7ec63ccb8f910e9da15771ff4d0031f4c4 Test: build with clang-tidy
diff --git a/keystore/blob.h b/keystore/blob.h index 8c26b28..95610ad 100644 --- a/keystore/blob.h +++ b/keystore/blob.h
@@ -78,7 +78,7 @@ public: Blob(const uint8_t* value, size_t valueLength, const uint8_t* info, uint8_t infoLength, BlobType type); - Blob(blob b); + explicit Blob(blob b); Blob();