commit | c7b556c471a4a76bda1b1f073392598dae043982 | [log] [tgz] |
---|---|---|
author | Dennis Kormalev <denk@google.com> | Tue Jun 21 14:16:00 2022 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jun 21 17:21:26 2022 +0000 |
tree | 28143a6de0578b74387c313e30091b5f0833f506 | |
parent | 054a779d9e184cd77261119aabd1f42c2c990afe [diff] |
pw_allocator: Use c++20-friendly pointer operations on spans With C++20 enabled pigweed uses std::span from the standard library. It doesn't specify they iterator type and it is not always possible to cast it to the pointer directly. We need to use .data() instead. Change-Id: Ib1db9eef079a5def813a6cc90745b5cf45825947 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/98901 Reviewed-by: Alexei Frolov <frolv@google.com> Pigweed-Auto-Submit: Dennis Kormalev <denk@google.com> Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.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/.