commit | 191ab106cf20d0036917fcb7bea108a35b2b2e28 | [log] [tgz] |
---|---|---|
author | Mark Schott <schottm@google.com> | Tue Feb 23 20:55:02 2021 +0000 |
committer | CQ Bot <commit-bot@chromium.org> | Tue Feb 23 20:55:02 2021 +0000 |
tree | eff3605d23efcf605aa7b3bc3a2881ce785e7789 | |
parent | 466aef8ef27e07659c33539ae7d2e6b1ea4f7f60 [diff] |
[stdcompat] Fix bit_tests.cc for C++20 The tests against std:: used std::width (which does not exist) instead of std::bit_width, so that now compiles. There was also a problem with aggregate initialization which is now fixed as well. Test: ran with -std=c++20, now compiles and passes Change-Id: Ia8c6bdeea145e265d03aed0f6cd14de7f74a207b Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/487601 Commit-Queue: Mark Schott <schottm@google.com> Reviewed-by: Corey Tabaka <eieio@google.com> Reviewed-by: Gianfranco Valentino <gevalentino@google.com>
Pink + Purple == Fuchsia (a new operating system)
Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.
Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.
Read more about Fuchsia's principles.
See Getting Started.
See fuchsia.dev.