From 1ffbd845dcdc317254202e647513daaf0ff65cf9 Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Wed, 22 May 2024 16:06:58 +0200 Subject: [PATCH] config: suppress macro usage linter messages --- src/entt/config/config.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/entt/config/config.h b/src/entt/config/config.h index 2e27872b6..80a330572 100644 --- a/src/entt/config/config.h +++ b/src/entt/config/config.h @@ -3,6 +3,8 @@ #include "version.h" +// NOLINTBEGIN(cppcoreguidelines-macro-usage) + #if defined(__cpp_exceptions) && !defined(ENTT_NOEXCEPTION) # define ENTT_CONSTEXPR # define ENTT_THROW throw @@ -88,4 +90,6 @@ # pragma detect_mismatch("entt.nonstd", ENTT_XSTR(ENTT_NONSTD)) #endif +// NOLINTEND(cppcoreguidelines-macro-usage) + #endif