commit | ebfeb36df865d690264cdf677325f27e8822c46a | [log] [tgz] |
---|---|---|
author | Andreas Huber <andih@google.com> | Thu Aug 25 13:39:05 2016 -0700 |
committer | Andreas Huber <andih@google.com> | Thu Aug 25 13:39:05 2016 -0700 |
tree | 9c642ce7a2fbe9cb0d3d05ccfb487ee53e232f7b | |
parent | 7211016cd72b5fa9f61fb8cf77b62faa207362e4 [diff] [blame] |
Expose offset of private member hidl_string::mBuffer. Bug: 30575790 Change-Id: Id8ca6cc8a82cc0133732d10aa4fdc107694f7e00
diff --git a/HidlSupport.cpp b/HidlSupport.cpp index 71ac2b3..27daa94 100644 --- a/HidlSupport.cpp +++ b/HidlSupport.cpp
@@ -113,6 +113,9 @@ parentOffset + offsetof(hidl_string, mBuffer)); } +// static +const size_t hidl_string::kOffsetOfBuffer = offsetof(hidl_string, mBuffer); + } // namespace hardware } // namespace android