Chromium Code Reviews| Index: webrtc/base/compile_assert_c.h |
| diff --git a/webrtc/base/compile_assert_c.h b/webrtc/base/compile_assert_c.h |
| index 4d51de3ff2a1458d3436d70a9bb798ba1c3f2a9c..5c7e9a15bc97076c9a464448d13f633b1ca3d76c 100644 |
| --- a/webrtc/base/compile_assert_c.h |
| +++ b/webrtc/base/compile_assert_c.h |
| @@ -11,11 +11,9 @@ |
| #ifndef WEBRTC_BASE_COMPILE_ASSERT_C_H_ |
| #define WEBRTC_BASE_COMPILE_ASSERT_C_H_ |
| -// Use this macro to verify at compile time that certain restrictions are met. |
| -// The argument is the boolean expression to evaluate. |
| -// Example: |
| -// RTC_COMPILE_ASSERT(sizeof(foo) < 128); |
| -// Note: In C++, use static_assert instead! |
| -#define RTC_COMPILE_ASSERT(expression) switch (0) {case 0: case expression:;} |
| + |
|
kwiberg-webrtc
2017/06/27 09:49:40
Remove the extra blank line?
kjellander_webrtc
2017/06/27 13:29:16
Done.
|
| +// This header is deprecated and is just left here temporarily during |
| +// refactoring. See https://bugs.webrtc.org/7634 for more details. |
| +#include "webrtc/rtc_base/compile_assert_c.h" |
| #endif // WEBRTC_BASE_COMPILE_ASSERT_C_H_ |