commit | 35f08d7210aa502948f3b7e80d93f788455981e1 | [log] [tgz] |
---|---|---|
author | Eli Lipsitz <elipsitz@google.com> | Mon Jan 08 19:43:18 2024 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Jan 08 19:43:18 2024 +0000 |
tree | dd3e614f0ac8c86e391259a89218658d8dc8e72b | |
parent | b2ced3bf20c155c39744775e7476c46ff19d96fd [diff] |
pw_protobuf: Fix conflict in messages with fields named 'other' Previously, messages with a field named 'other' would be generated with incorrect operator== methods. The local method argument 'other' would conflict with the field 'other'. This CL fixes the issue by prefixing references to fields with `this->`. Change-Id: I276b0832bf73ae1b4e5213f7aa91508c5e8a9836 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/186951 Reviewed-by: Jonathon Reinhart <jrreinhart@google.com> Reviewed-by: Alexei Frolov <frolv@google.com> Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> Commit-Queue: Eli Lipsitz <elipsitz@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/.