Index: sync/syncable/syncable_columns.h |
diff --git a/sync/syncable/syncable_columns.h b/sync/syncable/syncable_columns.h |
index 7d3a967977f2392fb198c1195b9a0b20267a522f..8b3bd9ee10a00e18cd1c077816338db6bd6b8294 100644 |
--- a/sync/syncable/syncable_columns.h |
+++ b/sync/syncable/syncable_columns.h |
@@ -72,8 +72,8 @@ static const ColumnSpec g_metas_columns[] = { |
}; |
// At least enforce that there are equal number of column names and fields. |
-COMPILE_ASSERT(arraysize(g_metas_columns) >= FIELD_COUNT, missing_column_name); |
-COMPILE_ASSERT(arraysize(g_metas_columns) <= FIELD_COUNT, extra_column_names); |
+static_assert(arraysize(g_metas_columns) >= FIELD_COUNT, "missing column name"); |
+static_assert(arraysize(g_metas_columns) <= FIELD_COUNT, "extra column names"); |
static inline const char* ColumnName(int field) { |
DCHECK(field < BEGIN_TEMPS); |