diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2024-10-04 18:11:06 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2024-10-09 13:41:06 +0100 |
commit | f5021ce9aa6be524beca99e0bbd0180b4e53029b (patch) | |
tree | 21f5fb5785400f264a19f326d51bbf9210f4af5a /libstdc++-v3/include/std/complex | |
parent | 361d230fd7800a7e749aba8ed020f54f5c26d504 (diff) | |
download | gcc-f5021ce9aa6be524beca99e0bbd0180b4e53029b.zip gcc-f5021ce9aa6be524beca99e0bbd0180b4e53029b.tar.gz gcc-f5021ce9aa6be524beca99e0bbd0180b4e53029b.tar.bz2 |
libstdc++: Fix -Wsign-compare in std::latch::count_down
Also add assertions for the precondition on the parameter's value.
libstdc++-v3/ChangeLog:
* include/std/latch (latch::count_down): Add assertions for
preconditions. Cast parameter to avoid -Wsign-compare on some
targets.
Diffstat (limited to 'libstdc++-v3/include/std/complex')
0 files changed, 0 insertions, 0 deletions