commit | 28792b3c57e541036a2e3a23fb2010c806a12ed0 | [log] [tgz] |
---|---|---|
author | RJ Ascani <rjascani@google.com> | Wed Mar 02 15:15:06 2022 -0800 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Mar 08 22:33:05 2022 +0000 |
tree | 2cf3f14adb3d7c9bab941caf952b07d87d17e86c | |
parent | dbdd346fabafc4a5fddd2a425183bcc76a4b8242 [diff] |
pw_result: Fix deref operator return values The const variants of the pw::Result dereference operators should return a const T*/T&/T&& to be usable on a const pw::Result<T>. Change-Id: I57fba9f2882659b02a65fd4cdb5462e61d85a348 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/86161 Pigweed-Auto-Submit: RJ Ascani <rjascani@google.com> Reviewed-by: Alexei Frolov <frolv@google.com> Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com> Reviewed-by: Wyatt Hepler <hepler@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/