commit | 1b3ff785c11526b5c31168dbe36a9b133e857bbb | [log] [tgz] |
---|---|---|
author | Hridya Valsaraju <hridya@google.com> | Tue Feb 14 02:10:32 2017 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Tue Feb 14 02:10:32 2017 +0000 |
tree | 8daece0814d907a3b827d45473d8c953e06c71a1 | |
parent | f26170880ff43eccdf5345b3896ad06562297592 [diff] | |
parent | 1342b1910752720f096450412cda1a3e364753af [diff] |
Merge "Modify hidl_pointer default constructor" am: 90d9b3593e am: 1342b19107 Change-Id: Ib87fb6a79c346e6afc2def3da1b9b661e3d74907
diff --git a/base/include/hidl/HidlInternal.h b/base/include/hidl/HidlInternal.h index 1d6c035..24e17cb 100644 --- a/base/include/hidl/HidlInternal.h +++ b/base/include/hidl/HidlInternal.h
@@ -41,7 +41,7 @@ template<typename T> struct hidl_pointer { hidl_pointer() - : mPointer(nullptr) { + : _pad(0) { } hidl_pointer(T* ptr) : mPointer(ptr) {