libstdc++: Reduce headers included by <future>
authorJonathan Wakely <jwakely@redhat.com>
Fri, 23 Jul 2021 11:32:05 +0000 (12:32 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Fri, 23 Jul 2021 12:27:45 +0000 (13:27 +0100)
commit3ea62a2b2ed739209936e0ed27539965ae4c9840
tree35588c3736b6d8f4c825a155e0f475259fa4ae22
parent1711b045829d281da9da440d70f2bf410127eea4
libstdc++: Reduce headers included by <future>

The <future> header only needs std::atomic_flag, so can include
<bits/atomic_base.h> instead of the whole of <atomic>.

libstdc++-v3/ChangeLog:

* include/std/future: Include <bits/atomic_base.h> instead of
<atomic>.
libstdc++-v3/include/std/future