mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-24 20:42:10 +08:00
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>.
This commit is contained in:
parent
9a1bc4b463
commit
7f1e3d06bb
@ -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>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user