Index: src/inspector/Allocator.h |
diff --git a/src/inspector/Allocator.h b/src/inspector/Allocator.h |
index 606bfe6c45b7f89ff265b60274d2d6439a351c09..18da916caca43d5ae4730402309e25b6b017cb08 100644 |
--- a/src/inspector/Allocator.h |
+++ b/src/inspector/Allocator.h |
@@ -27,11 +27,6 @@ enum NotNullTagEnum { NotNullLiteral }; |
// gives an error if passed a non-array. |
template <typename T, std::size_t Size> |
char (&ArrayLengthHelperFunction(T (&)[Size]))[Size]; |
-// GCC needs some help to deduce a 0 length array. |
-#if defined(__GNUC__) |
-template <typename T> |
-char (&ArrayLengthHelperFunction(T (&)[0]))[0]; |
-#endif |
#define V8_INSPECTOR_ARRAY_LENGTH(array) \ |
sizeof(::ArrayLengthHelperFunction(array)) |