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:
David Benjamin 2017-07-29 11:44:22 -04:00
parent 9fb6feaa84
commit d272dea99b

View File

@ -146,6 +146,7 @@
#include <stdlib.h>
#include <new>
#include <type_traits>
#include <utility>