Browse Source

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>
kris/onging/CECPQ3_patch15
David Benjamin 7 years ago
parent
commit
d272dea99b
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      ssl/internal.h

+ 1
- 0
ssl/internal.h View File

@@ -146,6 +146,7 @@


#include <stdlib.h> #include <stdlib.h>


#include <new>
#include <type_traits> #include <type_traits>
#include <utility> #include <utility>




Loading…
Cancel
Save