commit | 2c14af9b75dab883e728868b6215ae6a743f5c29 | [log] [tgz] |
---|---|---|
author | Bryan Henry <bryanhenry@google.com> | Thu Jan 10 18:32:52 2019 -0800 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Sat Jan 12 01:52:20 2019 +0000 |
tree | 22d9002fcba395dc73753ffa63108aebb0d6f1e1 | |
parent | ece59c3dc4de548328523d2e88843e21f31ce321 [diff] |
[fidl][cpp] Unify StringPtr nullity semantics Previously, is_null() and operator bool() disagreed about the nullity of a non-empty string with the is_null bit set. This inconsistency was introduced in fxr/136820 and was previously fixed for VectorPtr in fxr/148924 but never fixed for StringPtr. Test: fx run-host-tests fidl_cpp_host_unittests Change-Id: Ife7119c100bd171cb6b097bed24c96a3bb2cec24