commit | a9219c14811c0c5ccf3b38e1664e2dd281831b44 | [log] [tgz] |
---|---|---|
author | Haowei Wu <haowei@google.com> | Thu Dec 07 18:29:37 2023 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Dec 07 18:29:37 2023 +0000 |
tree | 23633d4b7ec50f0904633e2eb4e20c27757c2b37 | |
parent | cf66b43b371d9bd42c4a89ed65725e5a9ca095c0 [diff] |
pw_string: Fix string_test build error under new clang revision The latest clang with libcxx now emits an error when using char_traits with non-character types like int. This patch corrects this issue in the string_test.cc file. Bug: b/315190328 Change-Id: I7e33a34ad60b174197b2aa10f3b24806a8669b09 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/184219 Commit-Queue: Haowei Wu <haowei@google.com> Reviewed-by: Prabhu Karthikeyan Rajasekaran <prabhukr@google.com> Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Rob Mohr <mohrr@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/.