diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2022-10-06 14:34:49 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2022-10-07 12:55:33 +0100 |
commit | 93b3ab6c0c6a44df50e9312c8106b4d1001d6205 (patch) | |
tree | 6004b27ea64803a5eb6f9bfc45da41d37dfd4a0a /gcc | |
parent | df78e15233c1dcf9b935c7380fc95359ebcc5562 (diff) | |
download | gcc-93b3ab6c0c6a44df50e9312c8106b4d1001d6205.zip gcc-93b3ab6c0c6a44df50e9312c8106b4d1001d6205.tar.gz gcc-93b3ab6c0c6a44df50e9312c8106b4d1001d6205.tar.bz2 |
libstdc++: Shuffle header dependencies of <functional>
The <new> header is needed by std::function to use placement new, so
include it in <bits/std_function.h> instead of in <functional>.
libstdc++-v3/ChangeLog:
* include/bits/std_function.h: Include <new> but do not include
<bits/stl_function.h>.
* include/std/functional: Do not include <new>.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions