Index: sync/internal_api/public/base/enum_set.h |
diff --git a/sync/internal_api/public/base/enum_set.h b/sync/internal_api/public/base/enum_set.h |
index 85d9a548ece480cd380ebd5680d7657b5bc5b511..4061a03582ffedea8722751b17493cbb6bc1a075 100644 |
--- a/sync/internal_api/public/base/enum_set.h |
+++ b/sync/internal_api/public/base/enum_set.h |
@@ -46,8 +46,8 @@ class EnumSet { |
static const E kMinValue = MinEnumValue; |
static const E kMaxValue = MaxEnumValue; |
static const size_t kValueCount = kMaxValue - kMinValue + 1; |
- COMPILE_ASSERT(kMinValue < kMaxValue, |
- min_value_must_be_less_than_max_value); |
+ static_assert(kMinValue < kMaxValue, |
+ "min value must be less than max value"); |
private: |
// Declaration needed by Iterator. |