Index: net/disk_cache/simple/simple_test_util.h |
diff --git a/net/disk_cache/simple/simple_test_util.h b/net/disk_cache/simple/simple_test_util.h |
index 82eebbec3149d1666bc1b2e4458cdf2f6382decc..ec9b64434c0db0985571f3372a4d286f9b77943e 100644 |
--- a/net/disk_cache/simple/simple_test_util.h |
+++ b/net/disk_cache/simple/simple_test_util.h |
@@ -30,7 +30,7 @@ class ImmutableArray { |
template <size_t Index> |
const T& at() const { |
- COMPILE_ASSERT(Index < size, array_out_of_bounds); |
+ static_assert(Index < size, "array out of bounds"); |
return data_[Index]; |
} |