Fixed: Verbose warning
This commit is contained in:
parent
99bdbfb318
commit
3b053a8ff7
1 changed files with 1 additions and 1 deletions
|
@ -586,7 +586,7 @@ template<class T, class U> inline T type_cast(U o)
|
||||||
#ifdef NL_ISO_CPP0X_AVAILABLE
|
#ifdef NL_ISO_CPP0X_AVAILABLE
|
||||||
# define nlctassert(cond) static_assert(cond, "Compile time assert in "#cond)
|
# define nlctassert(cond) static_assert(cond, "Compile time assert in "#cond)
|
||||||
#else
|
#else
|
||||||
# define nlctassert(cond) sizeof(uint[(cond) ? 1 : 0])
|
# define nlctassert(cond) (void)sizeof(uint[(cond) ? 1 : 0])
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue