commit | 07b19f4910c83a0245fb9bf4d364f4b270e4c73d | [log] [tgz] |
---|---|---|
author | Eric Rahm <erahm@google.com> | Tue Aug 06 21:24:47 2024 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Aug 06 21:24:47 2024 +0000 |
tree | 24a0478f7104f67a9de5a1c1aa09e7436bba1c14 | |
parent | f0f84d71007b792193671ef86e0f4e4360351749 [diff] |
pw_bluetooth_sapphire: Explicitly move WeakRef in GetWeakPtr This avoids an extraneous copy and refcounting and clears up a warning on gcc. Fixed: b/354026910 Test: fx build Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1084508 GitOrigin-RevId: c7c81cac63c5f7e72c942d127d47c4806add4ff0 Change-Id: I125a6bb67380051e30eee022dd59dba53dbadbf0 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/227013 Reviewed-by: Eric Rahm <erahm@google.com> Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com> Commit-Queue: Jason Graffius <jgraff@google.com> Pigweed-Auto-Submit: Jason Graffius <jgraff@google.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/.