| commit | c5f6c292dc23a64522218e709be56c2262dce598 | [log] [tgz] |
|---|---|---|
| author | Mark Schott <schottm@fuchsia.infra.roller.google.com> | Thu Dec 10 16:08:21 2020 +0000 |
| committer | Copybara-Service <copybara-worker@google.com> | Thu Dec 10 08:09:28 2020 -0800 |
| tree | 480e5ece54c7586e508cb00e81bbebdc33389795 | |
| parent | d274c364d5d2b899ad02915bb8229eddb8711646 [diff] |
[roll] Roll fuchsia [fbl] Fix FakeCallable to compile with C++20 If you try to compile the tree with -std=c++20, one of the first hurdles you run into is fbl refusing to compile wherever fbl::Function is used because it is only used for sizeof and doesn't have a call operator. However, after consulting some C++ experts, it sounds like instantiating the call operator is perfectly legal for the compiler to ask for based on how things are now, and it's just that C++20 mode happens to be a bit stricter (i.e. according to the standard this was always wrong). Compiler errors are never fun, so let's nip this in the bud since it's used so many places. Unfortunately it can't be constexpr because of some stuff in zxtest, but since it's just a declaration you should get a link error if anyone actually tries to use it. TEST: no behavior change Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/459940 Original-Revision: 70f6c1a20d3f7369ee3e7eeeabe6dd5addda2fd6 GitOrigin-RevId: 28327a8994172c4b1034c9f4708f17204c5c56fc Change-Id: Ic233ce2db1846e4a9b902c8e65c0b96492c16cc7
This repository contains Fuchsia's Global Integration manifest files.
All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.
Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.
First install Jiri.
Next run:
$ jiri init $ jiri import minimal https://fuchsia.googlesource.com/integration $ jiri update
Third party projects should have their own subdirectory in ./third_party.