diff options
| author | 2017-02-17 13:38:47 -0800 | |
|---|---|---|
| committer | 2017-02-17 14:56:19 -0800 | |
| commit | 38903c0f88efefec3573d9ff3a8e28131da2f3b5 (patch) | |
| tree | 503be85765616c7dbb400cd7b58564d94569c355 /vulkan/libvulkan/api.cpp | |
| parent | 9753b433552f3856dc9e3a022dd6cfaa72f273d0 (diff) | |
Fix lshal cannot be run without root
Root cause is invoking copy constructor on a Return<T> object
implicitly, while the old object contains a failed status and
gets destroyed. Use the move constructor instead to fix this.
Test: adb unroot && adb shell lshal
Change-Id: I44710166cc5d7da30bf54b10d1860be1b91dc98a
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions