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

Unified Diff: util/mach/mach_message_server_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/mach/exc_server_variants_test.cc ('k') | util/mach/symbolic_constants_mach.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: util/mach/mach_message_server_test.cc
diff --git a/util/mach/mach_message_server_test.cc b/util/mach/mach_message_server_test.cc
index cb97e5ba8dbb2e45c97362372708c227a4b3626b..3d0d8bd76903e74177a03e0f0cc7a00b76c3384e 100644
--- a/util/mach/mach_message_server_test.cc
+++ b/util/mach/mach_message_server_test.cc
@@ -696,8 +696,8 @@ TEST(MachMessageServer, PersistentNonblockingFourMessages) {
// child_wait_for_parent_pipe_early is used to make the child wait until the
// parent is ready.
const size_t kTransactionCount = 4;
- COMPILE_ASSERT(kTransactionCount <= MACH_PORT_QLIMIT_DEFAULT,
- must_not_exceed_queue_limit);
+ static_assert(kTransactionCount <= MACH_PORT_QLIMIT_DEFAULT,
+ "must not exceed queue limit");
TestMachMessageServer::Options options;
options.parent_wait_for_child_pipe = true;
« no previous file with comments | « util/mach/exc_server_variants_test.cc ('k') | util/mach/symbolic_constants_mach.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698