Index: util/mach/symbolic_constants_mach.cc |
diff --git a/util/mach/symbolic_constants_mach.cc b/util/mach/symbolic_constants_mach.cc |
index 4bba92af2075481ee913998bc867c4241b1efd9e..827555d0d048269f7bed58efcd0fbb0ae48a7fba 100644 |
--- a/util/mach/symbolic_constants_mach.cc |
+++ b/util/mach/symbolic_constants_mach.cc |
@@ -42,8 +42,8 @@ const char* kExceptionNames[] = { |
"RESOURCE", |
"GUARD", |
}; |
-COMPILE_ASSERT(arraysize(kExceptionNames) == EXC_TYPES_COUNT, |
- kExceptionNames_length); |
+static_assert(arraysize(kExceptionNames) == EXC_TYPES_COUNT, |
+ "kExceptionNames length"); |
const char kExcPrefix[] = "EXC_"; |
const char kExcMaskPrefix[] = "EXC_MASK_"; |