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/.