From 1756ee2afde0659430f3a8f7e50a6734ce7519c7 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 27 Feb 2024 16:45:45 +0100 Subject: workaround CLion Nova analysis bug --- compat/prelude.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compat/prelude.hpp b/compat/prelude.hpp index 5a33e2e9..847b378f 100644 --- a/compat/prelude.hpp +++ b/compat/prelude.hpp @@ -15,7 +15,7 @@ #define WARN (::Corrade::Utility::Warning{}) #define ERR (::Corrade::Utility::Error{}) -#if !(defined __cpp_size_t_suffix || defined _MSC_VER && _MSVC_LANG < 202004) +#if defined __CLION_IDE__ || !(defined __cpp_size_t_suffix || defined _MSC_VER && _MSVC_LANG < 202004) #ifdef _MSC_VER #pragma system_header #else -- cgit v1.2.3