Skip to content

Commit

Permalink
Add <new> header for placement new
Browse files Browse the repository at this point in the history
Summary: This header is necessary for the placement new operator used in the construct method (line 265)

Reviewed By: yfeldblum

Differential Revision: D3156741

fb-gh-sync-id: 84a64821553b42d46fb70b5ee267a401028c94f2
fbshipit-source-id: 84a64821553b42d46fb70b5ee267a401028c94f2
  • Loading branch information
Adam Norton authored and Facebook Github Bot 0 committed Apr 9, 2016
1 parent 54f2a4c commit 2dafcc9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions folly/Optional.h
Expand Up @@ -54,6 +54,7 @@
* }
*/
#include <cstddef>
#include <new>
#include <stdexcept>
#include <type_traits>
#include <utility>
Expand Down

0 comments on commit 2dafcc9

Please sign in to comment.