Chromium Code Reviews| Index: net/disk_cache/blockfile/disk_format.h |
| diff --git a/net/disk_cache/blockfile/disk_format.h b/net/disk_cache/blockfile/disk_format.h |
| index 95ac58b6274caf2c969266f77b2ce5b5813db346..78836c3c81ddfaacb0b31603df0817c1988f2589 100644 |
| --- a/net/disk_cache/blockfile/disk_format.h |
| +++ b/net/disk_cache/blockfile/disk_format.h |
| @@ -116,7 +116,7 @@ struct EntryStore { |
| char key[256 - 24 * 4]; // null terminated |
| }; |
| -COMPILE_ASSERT(sizeof(EntryStore) == 256, bad_EntyStore); |
| +static_assert(sizeof(EntryStore) == 256, "bad EntyStore"); |
|
Deprecated (see juliatuttle)
2015/01/05 22:22:38
Fix typo ("EntyStore" -> "EntryStore") while you'r
Mostyn Bramley-Moore
2015/01/06 00:07:07
Done.
|
| const int kMaxInternalKeyLength = 4 * sizeof(EntryStore) - |
| offsetof(EntryStore, key) - 1; |
| @@ -146,7 +146,7 @@ struct RankingsNode { |
| }; |
| #pragma pack(pop) |
| -COMPILE_ASSERT(sizeof(RankingsNode) == 36, bad_RankingsNode); |
| +static_assert(sizeof(RankingsNode) == 36, "bad RankingsNode"); |
| } // namespace disk_cache |