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 |