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

Unified Diff: webrtc/base/compile_assert_c.h

Issue 2877023002: Move webrtc/{base => rtc_base} (Closed)
Patch Set: Fix invalid merge 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
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_
« no previous file with comments | « webrtc/base/checks.cc ('k') | webrtc/base/constructormagic.h » ('j') | webrtc/base/gunit_prod.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698