Skip to content

Commit ccc701e

Browse files
bnoordhuisMyles Borins
authored and
Myles Borins
committed
src: fix build/c++tr1 cpplint warnings
PR-URL: #7462 Reviewed-By: Trevor Norris <[email protected]>
1 parent 4a2bd2d commit ccc701e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/util.h

+6
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@
88
#include <stddef.h>
99
#include <stdlib.h>
1010

11+
#ifdef __APPLE__
12+
#include <tr1/type_traits> // NOLINT(build/c++tr1)
13+
#else
14+
#include <type_traits> // std::remove_reference
15+
#endif
16+
1117
namespace node {
1218

1319
#define FIXED_ONE_BYTE_STRING(isolate, string) \

0 commit comments

Comments
 (0)