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

Unified Diff: remoting/base/dispatch_win.h

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 | « no previous file | remoting/base/dispatch_win.h.pump » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/base/dispatch_win.h
diff --git a/remoting/base/dispatch_win.h b/remoting/base/dispatch_win.h
index ccf56727533c7adc6b5fd97e02940b23383b35be..53ad6ecd1c59899475402d41717775fc925bbedd 100644
--- a/remoting/base/dispatch_win.h
+++ b/remoting/base/dispatch_win.h
@@ -95,8 +95,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 | « no previous file | remoting/base/dispatch_win.h.pump » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698