Chromium Code Reviews| 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..3ba2cd63222678ad0a7e25d1095685f537d47bc4 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"); |
|
Mark Mentovai
2014/10/01 03:55:12
"NO_SECT must be 0"
scottmg
2014/10/01 16:37:19
Done.
|
| if (index == NO_SECT) { |
| LOG(WARNING) << "section index " << index << " out of range"; |
| return NULL; |