From db86219eabd87c14b5daad858a8cfa17f0481bbe Mon Sep 17 00:00:00 2001 From: Nuno Date: Tue, 1 Feb 2022 15:34:11 +0100 Subject: [PATCH] Added NL_NO_ASSERT to remove asserts in server --- nel/include/nel/misc/debug.h | 2 +- nel/include/nel/misc/types_nl.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nel/include/nel/misc/debug.h b/nel/include/nel/misc/debug.h index 9b6e48376..67c6837da 100644 --- a/nel/include/nel/misc/debug.h +++ b/nel/include/nel/misc/debug.h @@ -380,7 +380,7 @@ extern bool _assertex_stop_1(bool &ignoreNextTime); #define nlassume(exp) do { } while (0) #endif -#ifdef NL_NO_DEBUG +#ifdef NL_NO_ASSERT # define nlassert(exp) nlassume(exp) # define nlassertonce(exp) nlassume(exp) # define nlassertex(exp, str) nlassume(exp) diff --git a/nel/include/nel/misc/types_nl.h b/nel/include/nel/misc/types_nl.h index 5af1ce3f3..b8d888932 100644 --- a/nel/include/nel/misc/types_nl.h +++ b/nel/include/nel/misc/types_nl.h @@ -274,7 +274,7 @@ //#define NL_NO_DEBUG #undef NL_NO_DEBUG - +#define NL_NO_ASSERT // Standard types