commit | b706ea7d93223206944f760ccec48e41d583b987 | [log] [tgz] |
---|---|---|
author | Ben Lawson <benlawson@google.com> | Sat Jun 25 00:28:27 2022 +0000 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Sat Jun 25 00:28:27 2022 +0000 |
tree | 545061d579a6760b5d00e6c3fbf9fbd5477d3d2c | |
parent | dcbec770d99582bb9295c96bc6d48899be7036fb [diff] |
[bt][sco] Use unique_ptr/WeakPtr for ScoConnections instead of RefPtr Model ownership of ScoConnection using std::unique_ptr and fxl::WeakPtr instead of fbl::RefPtr. This makes the ownership model clearer and reduces usage of fbl, which we can't use on Pigweed. Bug: 100658 Test: fx test //src/connectivity/bluetooth/core/bt-host Change-Id: Icce164fab33fa5733a237e77d88e738bd335999a Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/692091 Reviewed-by: Xo Wang <xow@google.com> Commit-Queue: Ben Lawson <benlawson@google.com>
Fuchsia is an open source, general purpose operating system supporting modern 64-bit Intel and ARM processors.
We expect everyone interacting with our project to respect our code of conduct.
Read more about Fuchsia's principles.
See Getting Started.
See fuchsia.dev.