From 86b809e5815ec4871bfaa03d0d9ed16c502d6fa8 Mon Sep 17 00:00:00 2001 From: kaetemi Date: Mon, 16 Mar 2020 14:23:26 +0800 Subject: [PATCH] Fix typo --- code/nel/include/nel/misc/debug.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/nel/include/nel/misc/debug.h b/code/nel/include/nel/misc/debug.h index 7d4ddcd1b..d8e03ac8e 100644 --- a/code/nel/include/nel/misc/debug.h +++ b/code/nel/include/nel/misc/debug.h @@ -368,10 +368,10 @@ extern bool _assertex_stop_1(bool &ignoreNextTime); // removed because we always check assert (even in release mode) #if defined(NL_DEBUG) -#if defined(_MSC_VER) && _MSC_VER >= 1900 +#if defined(_MSC_VER) && _MSC_VER >= 1500 #define nlassume(exp) do { __analysis_assume(exp); } while (0) // __analysis_assume doesn't evaluate the expression at runtime #else -#define nlassume(exp) do { ) while (0) +#define nlassume(exp) do { } while (0) #endif #ifdef NL_NO_DEBUG