|author||Ben Lawson <firstname.lastname@example.org>||Mon May 02 18:10:29 2022 +0000|
|committer||Commit Bot <email@example.com>||Mon May 02 18:10:29 2022 +0000|
[bt][l2cap] Use unique_ptr<L2cap> instead of RefPtr<L2cap> Replace instances of fbl::RefPtr<L2cap> with std::unique_ptr<L2cap> (in Adapter) or L2cap*. Now that L2cap is not shared across threads, ownership is better modeled with a unique_ptr<L2cap> owned by Adapter and weak pointers passed to other classes. Bug: 98304 Test: fx test //src/connectivity/bluetooth/core/bt-host Change-Id: I0e70502b7063b3b5aa368488a4fad790842b228e Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/670689 Reviewed-by: Lucas Jenkins <firstname.lastname@example.org> Reviewed-by: Faraaz Sareshwala <email@example.com> Commit-Queue: Ben Lawson <firstname.lastname@example.org>
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.
See Getting Started.