Index: gin/array_buffer.cc |
diff --git a/gin/array_buffer.cc b/gin/array_buffer.cc |
index b777402e644ff49a39365f623d8d79b4efb13515..d592b276eaf5497792a33c882388dd5bbddc018c 100644 |
--- a/gin/array_buffer.cc |
+++ b/gin/array_buffer.cc |
@@ -16,8 +16,8 @@ gin::WrapperInfo g_array_buffer_wrapper_info = {gin::kEmbedderNativeGin}; |
} // namespace |
-COMPILE_ASSERT(V8_ARRAY_BUFFER_INTERNAL_FIELD_COUNT == 2, |
- array_buffers_must_have_two_internal_fields); |
+static_assert(V8_ARRAY_BUFFER_INTERNAL_FIELD_COUNT == 2, |
+ "array buffers must have two internal fields"); |
// ArrayBufferAllocator ------------------------------------------------------- |