Chromium Code Reviews| Index: src/checks.h |
| diff --git a/src/checks.h b/src/checks.h |
| index 55dc1bc7024c79fb02b9aea9b23e6cfb996c7e2c..b309e2c42c79361b53d7eacaaf6d75028d1a64d5 100644 |
| --- a/src/checks.h |
| +++ b/src/checks.h |
| @@ -232,9 +232,7 @@ inline void CheckNonEqualsHelper(const char* file, |
| // Use C++11 static_assert if possible, which gives error |
| // messages that are easier to understand on first sight. |
| -#if __cplusplus >= 201103L || \ |
| - (defined(__has_feature) && __has_feature(cxx_static_assert)) || \ |
|
Sven Panne
2013/07/18 07:57:57
If the need for the additional terms of the disjun
|
| - (defined(__has_extension) && __has_extension(cxx_static_assert)) |
| +#if __cplusplus >= 201103L |
| #define STATIC_CHECK(test) static_assert(test, #test) |
| #else |
| // This is inspired by the static assertion facility in boost. This |