Skip to content

Commit

Permalink
src: fix build/c++tr1 cpplint warnings
Browse files Browse the repository at this point in the history
PR-URL: #7462
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
  • Loading branch information
bnoordhuis authored and Myles Borins committed Jul 14, 2016
1 parent 4a2bd2d commit ccc701e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/util.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) \
Expand Down

0 comments on commit ccc701e

Please sign in to comment.