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

Unified Diff: util/numeric/int128_test.cc

Issue 615923004: Convert COMPILE_ASSERT to static_assert (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: fixes Created 6 years, 3 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
« no previous file with comments | « util/numeric/int128.h ('k') | util/posix/symbolic_constants_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: util/numeric/int128_test.cc
diff --git a/util/numeric/int128_test.cc b/util/numeric/int128_test.cc
index bf42c0cf10bb4a99737127e85b8c8ccdb23ce122..fc18de468e74889a98d7c555806255a67073d1cd 100644
--- a/util/numeric/int128_test.cc
+++ b/util/numeric/int128_test.cc
@@ -30,7 +30,7 @@ TEST(Int128, UInt128) {
#endif
uint128_struct uint128;
- COMPILE_ASSERT(sizeof(uint128) == sizeof(kBytes), sizes_must_be_equal);
+ static_assert(sizeof(uint128) == sizeof(kBytes), "sizes must be equal");
uint128 = bit_cast<uint128_struct>(kBytes);
« no previous file with comments | « util/numeric/int128.h ('k') | util/posix/symbolic_constants_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698