Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(288)

Unified Diff: net/disk_cache/simple/simple_test_util.h

Issue 862133002: Update from https://crrev.com/312398 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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];
}

Powered by Google App Engine
This is Rietveld 408576698