| Index: src/checks.h
|
| ===================================================================
|
| --- src/checks.h (revision 787)
|
| +++ src/checks.h (working copy)
|
| @@ -228,9 +228,9 @@
|
| // actually causes each use to introduce a new defined type with a
|
| // name depending on the source line.
|
| template <int> class StaticAssertionHelper { };
|
| -#define STATIC_CHECK(test) \
|
| - typedef \
|
| - StaticAssertionHelper<sizeof(StaticAssertion<static_cast<bool>(test)>)> \
|
| +#define STATIC_CHECK(test) \
|
| + typedef \
|
| + StaticAssertionHelper<sizeof(StaticAssertion<static_cast<bool>((test))>)> \
|
| SEMI_STATIC_JOIN(__StaticAssertTypedef__, __LINE__)
|
|
|
|
|
|
|