libstdc++: Add missing noexcept on std::thread member function [PR 100298]
authorJonathan Wakely <jwakely@redhat.com>
Wed, 28 Apr 2021 11:45:49 +0000 (12:45 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Wed, 28 Apr 2021 11:45:49 +0000 (12:45 +0100)
commit5cc28000cfcc219fb4c45dbc5388ec05109049af
tree5a5cdce7b6b9eca1c6a00f830e237480f2cd28fe
parentb020cee5af4cb40b9971bfb943d7bd2795b2a3eb
libstdc++: Add missing noexcept on std::thread member function [PR 100298]

The new inline definition of std::thread::hardware_concurrency() for
non-gthreads targets is missing the noexcept-specifier that is on the
declaration.

libstdc++-v3/ChangeLog:

PR libstdc++/100298
* include/bits/std_thread.h (thread::hardware_concurrency): Add
missing noexcept to inline definition for non-gthreads targets.
libstdc++-v3/include/bits/std_thread.h