Index: util/mac/mach_o_image_reader.cc |
diff --git a/util/mac/mach_o_image_reader.cc b/util/mac/mach_o_image_reader.cc |
index 09e35e59f2f612f77bd3e9eaf82cd043c08b5651..25e279c7be0a86e995f5498f4dc5125afc85e1fc 100644 |
--- a/util/mac/mach_o_image_reader.cc |
+++ b/util/mac/mach_o_image_reader.cc |
@@ -328,7 +328,7 @@ const process_types::section* MachOImageReader::GetSectionAtIndex( |
mach_vm_address_t* address) const { |
INITIALIZATION_STATE_DCHECK_VALID(initialized_); |
- COMPILE_ASSERT(NO_SECT == 0, no_sect_must_be_zero); |
+ static_assert(NO_SECT == 0, "NO_SECT must be zero"); |
if (index == NO_SECT) { |
LOG(WARNING) << "section index " << index << " out of range"; |
return NULL; |