OSDN Git Service

Cast hidl_pointer<T> to void*.
authorMartijn Coenen <maco@google.com>
Thu, 17 Nov 2016 14:12:18 +0000 (15:12 +0100)
committerMartijn Coenen <maco@google.com>
Thu, 17 Nov 2016 14:29:36 +0000 (15:29 +0100)
commit65c86c08a141a89d29ed3c7df4f33ca9c6b7e554
tree9f01920bb41887784a9978d8d5eb499f7ab5d107
parent511cc493e33959b3b5b9e11692e946a54e139de8
Cast hidl_pointer<T> to void*.

hidl_pointer<T> can only allow one implicit conversion
operator, and native_handle_t* is the one that makes
most sense. Hence, this requires an explicit cast.

Bug: 32089785
Test: builds
Change-Id: Ie952ee2e4f0c20fa33f793403d51f3d550257310
tests/bar/1.0/default/Bar.cpp