From 65043d4d1fa38ea782ac20f14ff24d14a166668c Mon Sep 17 00:00:00 2001 From: Rye Mutt <rye@alchemyviewer.org> Date: Wed, 21 Oct 2020 01:25:17 -0400 Subject: [PATCH] Fix a small bug --- indra/llcommon/llerror.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/llcommon/llerror.h b/indra/llcommon/llerror.h index 385fdaadac2..5bb197fc787 100644 --- a/indra/llcommon/llerror.h +++ b/indra/llcommon/llerror.h @@ -86,7 +86,7 @@ const int LL_ERR_NOERR = 0; #endif #define LL_STATIC_ASSERT(func, msg) static_assert(func, msg) -#define LL_BAD_TEMPLATE_INSTANTIATION(type, msg) static_assert(false, msg) +#define LL_BAD_TEMPLATE_INSTANTIATION(type, msg) static_assert(sizeof(type) != 0 && false, msg) /** Error Logging Facility -- GitLab