pw_allocator: Fix #if PW_HAVE_FEATURE(__cpp_rtti) Since __cpp_rtti is a standard feature test macro, it should not use __has_feature. Additionally, this CL takes the opportunity to reduce the number of preprocessor directives added by CL 210571. Bug: 341975367 Change-Id: I77dcec55bde62a66c1328f1852ec9f346ede8ff6 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/210816 Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com> Reviewed-by: Taylor Cramer <cramertj@google.com> Commit-Queue: Aaron Green <aarongreen@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/.