Index: chrome/installer/util/channel_info.cc |
diff --git a/chrome/installer/util/channel_info.cc b/chrome/installer/util/channel_info.cc |
index cdf264bad0e11810732746b1948b0259146eea89..eecb66e9458a9db1be30bcf95a62e8538f71f02b 100644 |
--- a/chrome/installer/util/channel_info.cc |
+++ b/chrome/installer/util/channel_info.cc |
@@ -58,8 +58,8 @@ enum ModifierIndex { |
NUM_MODIFIERS |
}; |
-COMPILE_ASSERT(NUM_MODIFIERS == arraysize(kModifiers), |
- kModifiers_disagrees_with_ModifierIndex_comma_they_must_match_bang); |
+static_assert(NUM_MODIFIERS == arraysize(kModifiers), |
+ "kModifiers should have NUM_MODIFIERS elements"); |
// Returns true if the modifier is found, in which case |position| holds the |
// location at which the modifier was found. The number of characters in the |