projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a1bc4b
)
libstdc++: Add missing <new> header to <bits/stl_tempbuf.h>
author
Jonathan Wakely
<jwakely@redhat.com>
Wed, 14 Sep 2022 14:52:44 +0000
(15:52 +0100)
committer
Jonathan Wakely
<jwakely@redhat.com>
Wed, 14 Sep 2022 18:17:36 +0000
(19:17 +0100)
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>.
libstdc++-v3/include/bits/stl_tempbuf.h
patch
|
blob
|
history
diff --git
a/libstdc++-v3/include/bits/stl_tempbuf.h
b/libstdc++-v3/include/bits/stl_tempbuf.h
index
db7cdb1
..
82f2dc8
100644
(file)
--- 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>