diff options
Diffstat (limited to 'runtime/base/allocator.h')
| -rw-r--r-- | runtime/base/allocator.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/base/allocator.h b/runtime/base/allocator.h index 3ca9ebbd5c..30f7f128e0 100644 --- a/runtime/base/allocator.h +++ b/runtime/base/allocator.h @@ -119,7 +119,7 @@ class TrackingAllocatorImpl { // Used internally by STL data structures. TrackingAllocatorImpl() throw() { - COMPILE_ASSERT(kTag < kAllocatorTagCount, must_be_less_than_count); + static_assert(kTag < kAllocatorTagCount, "kTag must be less than kAllocatorTagCount"); } // Enables an allocator for objects of one type to allocate storage for objects of another type. |