OSDN Git Service

Use explicit .c_str() for hidl_string
authorScott Randolph <randolphs@google.com>
Mon, 3 Apr 2017 21:06:19 +0000 (14:06 -0700)
committerScott Randolph <randolphs@google.com>
Tue, 4 Apr 2017 17:53:26 +0000 (10:53 -0700)
commit8997880087d14e8a8ee7cf13682f457dbb7f5292
tree79f1a10cd636b6e116f0dc9e1070c31ee9b0c438
parentda0bc84ec6f918b74b75fd8724137d1db4b9dd54
Use explicit .c_str() for hidl_string

hidl_string no longer will provide an implicit cast to const char* as it
interfers with other expected behaviors of the class.  It now emulated
std::string in requiring a call to .c_str() to get the same behavior.

Bug:  36532780
Test:  Build the tree
Change-Id: I265590c7c18f425e44863df062a56b67519a932a
automotive/evs/1.0/default/EvsEnumerator.cpp
drm/1.0/default/CryptoPlugin.cpp
drm/1.0/default/DrmPlugin.cpp
sensors/1.0/vts/functional/VtsHalSensorsV1_0TargetTest.cpp