commit | 147b881ca906ad3f7f1b9acf20304054df3e5ea1 | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Wed Sep 13 11:04:06 2017 -0600 |
committer | Jeff Sharkey <jsharkey@android.com> | Wed Sep 13 11:06:07 2017 -0600 |
tree | 058a4d2d489fa50e3b3c095b5455f949e540a1e7 | |
parent | 2827106d7d95b5e2d41b846f1505fbfacc56d850 [diff] |
Add "operator bool" overload to android::sp. This matches the overload on std::unique_ptr and friends. Test: builds, boots Bug: 13758960 Change-Id: Ieed9faa6b162c2a10fa7cf2b135c9b17564f6c88