Add required parens for r13779.
git-svn-id: http://skia.googlecode.com/svn/trunk@13781 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
1db03d2fad
commit
2f5820903e
@ -130,7 +130,7 @@ struct SkCompileAssert {
|
||||
// Uses static_cast<bool>(expr) instead of bool(expr) due to
|
||||
// https://connect.microsoft.com/VisualStudio/feedback/details/832915
|
||||
#define SK_COMPILE_ASSERT(expr, msg) \
|
||||
typedef SkCompileAssert<static_cast<bool>(expr)> \
|
||||
typedef SkCompileAssert<(static_cast<bool>(expr))> \
|
||||
msg[static_cast<bool>(expr) ? 1 : -1] SK_UNUSED
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user