Explicitly include <new> for placement new.
placement new requires operator new (size_t, void*) to be defined, which requires pulling in the <new> header. Change-Id: Ibaa8f3309b03129958f201d32de8afcfafed70f6 Reviewed-on: https://boringssl-review.googlesource.com/18664 Reviewed-by: David Benjamin <davidben@google.com>
This commit is contained in:
parent
9fb6feaa84
commit
d272dea99b
@ -146,6 +146,7 @@
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <new>
|
||||
#include <type_traits>
|
||||
#include <utility>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user