diff options
Diffstat (limited to 'chromium/net/disk_cache/memory/mem_backend_impl.cc')
-rw-r--r-- | chromium/net/disk_cache/memory/mem_backend_impl.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chromium/net/disk_cache/memory/mem_backend_impl.cc b/chromium/net/disk_cache/memory/mem_backend_impl.cc index cc33a002c7f..8350963c6e3 100644 --- a/chromium/net/disk_cache/memory/mem_backend_impl.cc +++ b/chromium/net/disk_cache/memory/mem_backend_impl.cc @@ -76,7 +76,8 @@ bool MemBackendImpl::Init() { } bool MemBackendImpl::SetMaxSize(int max_bytes) { - COMPILE_ASSERT(sizeof(max_bytes) == sizeof(max_size_), unsupported_int_model); + static_assert(sizeof(max_bytes) == sizeof(max_size_), + "unsupported int model"); if (max_bytes < 0) return false; |