roll: third_party/pigweed pw_channel: Rework inheritance to avoid SiblingCast Change pw_channel to a new inheritance pattern that places AnyChannel in the middle of the hierarchy. The various Channel API classes are private empty bases of AnyChannel. This ensures conversions between compatible Channel variants are valid, since all channel implementations have all channel variants as bases. Channel implementations extend a ChannelImpl with properties specified in template parameters, and unsupported functions are automatically disabled. This change also refactors and simplifies the channel.h header. Properties and code for checking them are moved to a properties.h header. Also, the macros to generate ChannelImpl specializations are greatly simplified. Original-Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/247732 Original-Revision: 0422de1761e52ad5d1fad821880025fc27facf1c Rolled-Repo: https://pigweed.googlesource.com/pigweed/pigweed Rolled-Commits: c521eeca9d3860..0422de1761e52a Roll-Count: 1 Roller-URL: https://cr-buildbucket.appspot.com/build/8731489287627470897 GitWatcher: ignore CQ-Do-Not-Cancel-Tryjobs: true Change-Id: I9a5ac1d4db76eb434ae07a9445fd419f35635571 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/examples/+/248099 Bot-Commit: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com> Commit-Queue: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com> Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com>
diff --git a/third_party/pigweed b/third_party/pigweed index c521eec..0422de1 160000 --- a/third_party/pigweed +++ b/third_party/pigweed
@@ -1 +1 @@ -Subproject commit c521eeca9d38601a8d13ae542a1e59e363d7fbc8 +Subproject commit 0422de1761e52ad5d1fad821880025fc27facf1c