diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2022-09-14 15:52:44 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2022-09-14 19:17:36 +0100 |
commit | 7f1e3d06bb9a39fb42afd4d0ea1a103fe239b1cb (patch) | |
tree | cd5597ab0c801c47b4e14c1d8c8a91517a37b46d | |
parent | 9a1bc4b463e61cd5bc5f169a08a420aae39a07f6 (diff) | |
download | gcc-7f1e3d06bb9a39fb42afd4d0ea1a103fe239b1cb.zip gcc-7f1e3d06bb9a39fb42afd4d0ea1a103fe239b1cb.tar.gz gcc-7f1e3d06bb9a39fb42afd4d0ea1a103fe239b1cb.tar.bz2 |
libstdc++: Add missing <new> header to <bits/stl_tempbuf.h>
This is needed for std::nothrow and the nothrow operator new overload,
so should be included explicitly.
libstdc++-v3/ChangeLog:
* include/bits/stl_tempbuf.h: Include <new>.
-rw-r--r-- | libstdc++-v3/include/bits/stl_tempbuf.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libstdc++-v3/include/bits/stl_tempbuf.h b/libstdc++-v3/include/bits/stl_tempbuf.h index db7cdb1..82f2dc8 100644 --- a/libstdc++-v3/include/bits/stl_tempbuf.h +++ b/libstdc++-v3/include/bits/stl_tempbuf.h @@ -56,6 +56,7 @@ #ifndef _STL_TEMPBUF_H #define _STL_TEMPBUF_H 1 +#include <new> #include <bits/stl_algobase.h> #include <bits/stl_construct.h> |