File tree 1 file changed +0
-13
lines changed
1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change 11
11
#include < stdio.h>
12
12
#include < stdlib.h>
13
13
14
- // OSX 10.9 defaults to libc++ which provides a C++11 <type_traits> header.
15
- #if defined(__APPLE__) && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1090
16
- #define USE_TR1_TYPE_TRAITS
17
- #endif
18
-
19
- #ifdef USE_TR1_TYPE_TRAITS
20
- #include < tr1/type_traits> // NOLINT(build/c++tr1)
21
- #else
22
14
#include < type_traits> // std::remove_reference
23
- #endif
24
15
25
16
namespace node {
26
17
@@ -70,11 +61,7 @@ NO_RETURN void Abort();
70
61
NO_RETURN void Assert (const char * const (*args)[4]);
71
62
void DumpBacktrace (FILE* fp);
72
63
73
- #ifdef USE_TR1_TYPE_TRAITS
74
- template <typename T> using remove_reference = std::tr1::remove_reference<T>;
75
- #else
76
64
template <typename T> using remove_reference = std::remove_reference<T>;
77
- #endif
78
65
79
66
#define FIXED_ONE_BYTE_STRING (isolate, string ) \
80
67
(node::OneByteString((isolate), (string), sizeof(string) - 1))
You can’t perform that action at this time.
0 commit comments