commit | 9b242113ab06e86dff052bfa60b5e01fc6fd7f8a | [log] [tgz] |
---|---|---|
author | Wyatt Hepler <hepler@google.com> | Fri Aug 16 16:34:56 2024 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Aug 16 16:34:56 2024 +0000 |
tree | 409d390acbbd21ee200fe9e12ca9e1753d83484e | |
parent | 5e9e39285969463893c92043ff509958ec5eec40 [diff] |
pw_kvs: Remove unnecessary Key alias and test pw_kvs originally used std::string_view for keys. A downstream project wanted to use pw_kvs in C++14, so implemented pw::kvs::Key, a custom version of std::string_view in e64daf43. That team later migrated to a newer C++ standard, and Pigweed dropped C++14 support, so the Key implementation was converted to an alias. The Key alias is unused outside pw_kvs, so remove it. Also remove code that hints at C++14 support, since it is not supported in Pigweed. This is potentially a BREAKING CHANGE! References to pw::kvs::Key must be replaced with std::string_view. Change-Id: I5e861e27fc0310e50a3e84fb54038569d17c537f Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/229976 Commit-Queue: Auto-Submit <auto-submit@pigweed-service-accounts.iam.gserviceaccount.com> Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com> Pigweed-Auto-Submit: Wyatt Hepler <hepler@google.com> Reviewed-by: Erik Gilling <konkers@google.com> Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.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/.