commit | 632c6053edaac8abf2e3b09536f291a338a8071f | [log] [tgz] |
---|---|---|
author | Anton Markov <amarkov@google.com> | Fri Sep 23 18:01:33 2022 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Sep 23 18:01:33 2022 +0000 |
tree | f2c03db97bfc4c28efc39c2e2a52ae2abe95cfae | |
parent | 8358a0210df93e4635bac3e2f442b97c22cdb1e3 [diff] |
pw_sync: Fixed InlineBorrowable constructor ambiguity There is ambiguity about which constructor to invoke when constructing an inline object that has a single construtor argument using the in-place syntax with an lvalue parameter. Added enable_if guards so that the factory-function constructors are only instantiated for compatible callables. Change-Id: I7db859bf4b4cf31491c10d1bd9105f34b11a133d Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/111290 Reviewed-by: Wyatt Hepler <hepler@google.com> Commit-Queue: Anton Markov <amarkov@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/.