mirror of
https://github.com/nodejs/node.git
synced 2026-11-29 14:27:57 -05:00
src: fix build/c++tr1 cpplint warnings
PR-URL: https://github.com/nodejs/node/pull/7462 Reviewed-By: Trevor Norris <trev.norris@gmail.com>
This commit is contained in:
1 parent
4a2bd2d515
commit
ccc701e1d5
1 file changed
+6
@@ -8,6 +8,12 @@
|
||||
#include <stddef.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#ifdef __APPLE__
|
||||
#include <tr1/type_traits> // NOLINT(build/c++tr1)
|
||||
#else
|
||||
#include <type_traits> // std::remove_reference
|
||||
#endif
|
||||
|
||||
namespace node {
|
||||
|
||||
#define FIXED_ONE_BYTE_STRING(isolate, string) \
|
||||
|
||||
Reference in new issue
Block a user