From 4f89ebebe22b79b5f01f7b13eea630e038960aa7 Mon Sep 17 00:00:00 2001 From: cxl Date: Fri, 6 Feb 2015 11:26:20 +0000 Subject: [PATCH] Core: STATIC_ASSERT fixed for MSC10 git-svn-id: svn://ultimatepp.org/upp/trunk@8143 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/Core/Diag.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uppsrc/Core/Diag.h b/uppsrc/Core/Diag.h index 3c8f54128..c21d32f85 100644 --- a/uppsrc/Core/Diag.h +++ b/uppsrc/Core/Diag.h @@ -38,7 +38,7 @@ inline String GetTypeName(const ::std::type_info& tinfo) { return GetTypeName( void __LOGF__(const char *format, ...); -#define STATIC_ASSERT( expr ) { struct __static_assert { unsigned static_assert:(expr); }; } +#define STATIC_ASSERT( expr ) { struct __static_assert { unsigned __static_assert_tst:(expr); }; } #ifdef _DEBUG