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

Unified Diff: remoting/base/dispatch_win.h.pump

Issue 824383002: replace COMPILE_ASSERT with static_assert in remoting/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master 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
« no previous file with comments | « remoting/base/dispatch_win.h ('k') | remoting/host/fake_desktop_capturer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/base/dispatch_win.h.pump
diff --git a/remoting/base/dispatch_win.h.pump b/remoting/base/dispatch_win.h.pump
index 6ef0890cb9ec18f34f4471c48bbfc37c90ecae98..31c34a5b634827a191f403f4b8dc141f9ac3aedb 100644
--- a/remoting/base/dispatch_win.h.pump
+++ b/remoting/base/dispatch_win.h.pump
@@ -100,8 +100,8 @@ class ScopedVariantArg : public VARIANTARG {
};
// Make sure the layouts of |VARIANTARG| and |ScopedVariantArg| are identical.
-COMPILE_ASSERT(sizeof(ScopedVariantArg) == sizeof(VARIANTARG),
- scoped_variant_arg_should_not_add_data_members);
+static_assert(sizeof(ScopedVariantArg) == sizeof(VARIANTARG),
+ "scoped variant arg should not add data members");
} // namespace internal
« no previous file with comments | « remoting/base/dispatch_win.h ('k') | remoting/host/fake_desktop_capturer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698