summaryrefslogtreecommitdiffstats
path: root/third_party/libaddressinput
diff options
context:
space:
mode:
authoravi <avi@chromium.org>2015-11-24 11:12:13 -0800
committerCommit bot <commit-bot@chromium.org>2015-11-24 19:13:16 +0000
commit0cc1cac60fa31330162cb8ec68ec2b0eabe3631b (patch)
tree378588d9693df7a6417606b2692f5c0b8cefbc5d /third_party/libaddressinput
parentee04f7688948ac3f8070a72dd554083a768f9a2f (diff)
downloadchromium_src-0cc1cac60fa31330162cb8ec68ec2b0eabe3631b.zip
chromium_src-0cc1cac60fa31330162cb8ec68ec2b0eabe3631b.tar.gz
chromium_src-0cc1cac60fa31330162cb8ec68ec2b0eabe3631b.tar.bz2
Switch to static_assert in the repo.
BUG=442514 Review URL: https://codereview.chromium.org/1468803002 Cr-Commit-Position: refs/heads/master@{#361408}
Diffstat (limited to 'third_party/libaddressinput')
-rw-r--r--third_party/libaddressinput/chromium/override/basictypes_override.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/third_party/libaddressinput/chromium/override/basictypes_override.h b/third_party/libaddressinput/chromium/override/basictypes_override.h
index 699bc0f..1a8274f 100644
--- a/third_party/libaddressinput/chromium/override/basictypes_override.h
+++ b/third_party/libaddressinput/chromium/override/basictypes_override.h
@@ -7,4 +7,6 @@
#include "base/basictypes.h"
+#define COMPILE_ASSERT(expr, msg) static_assert(expr, #msg)
+
#endif // THIRD_PARTY_LIBADDRESSINPUT_CHROMIUM_BASICTYPES_OVERRIDE_H_