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

Unified Diff: webrtc/base/compile_assert_c.h

Issue 2877023002: Move webrtc/{base => rtc_base} (Closed)
Patch Set: update presubmit.py and DEPS include rules Created 3 years, 6 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 | « webrtc/base/checks.cc ('k') | webrtc/base/constructormagic.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..934cc9be7c97e105b172622dff7f03435d7dcd40 100644
--- a/webrtc/base/compile_assert_c.h
+++ b/webrtc/base/compile_assert_c.h
@@ -11,11 +11,8 @@
#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:;}
+// 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_
« no previous file with comments | « webrtc/base/checks.cc ('k') | webrtc/base/constructormagic.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698