Index: base/containers/small_map.h |
diff --git a/base/containers/small_map.h b/base/containers/small_map.h |
index df3d22ae9ab26a184d7ead489e98b5c1d09c7911..8ae4219f3b40dfadf46ab4fb5b7b615444fc4c49 100644 |
--- a/base/containers/small_map.h |
+++ b/base/containers/small_map.h |
@@ -187,7 +187,7 @@ class SmallMap { |
// particular, gcc 2.95.3 does it but later versions allow 0-length |
// arrays. Therefore, we explicitly reject non-positive kArraySize |
// here. |
- COMPILE_ASSERT(kArraySize > 0, default_initial_size_should_be_positive); |
+ static_assert(kArraySize > 0, "default initial size should be positive"); |
public: |
typedef typename NormalMap::key_type key_type; |