From b90bcaaaabc815bdfb26bc0a906bd95e7b0cf79a Mon Sep 17 00:00:00 2001 From: John Wellbelove Date: Fri, 3 Oct 2025 10:18:21 +0100 Subject: [PATCH] Minor layout changes --- include/etl/platform.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/include/etl/platform.h b/include/etl/platform.h index ee0032c4..f6658d49 100644 --- a/include/etl/platform.h +++ b/include/etl/platform.h @@ -242,22 +242,22 @@ SOFTWARE. #endif //************************************* -// Indicate if C++ exceptions are enabled. +// Indicate if C++ exceptions within the ETL are enabled. #if defined(ETL_THROW_EXCEPTIONS) - #define ETL_USING_EXCEPTIONS 1 + #define ETL_USING_EXCEPTIONS 1 #define ETL_NOT_USING_EXCEPTIONS 0 #else - #define ETL_USING_EXCEPTIONS 0 + #define ETL_USING_EXCEPTIONS 0 #define ETL_NOT_USING_EXCEPTIONS 1 #endif //************************************* // Indicate if C++ exceptions are enabled for debug asserts. #if ETL_IS_DEBUG_BUILD && defined(ETL_DEBUG_THROW_EXCEPTIONS) - #define ETL_DEBUG_USING_EXCEPTIONS 1 + #define ETL_DEBUG_USING_EXCEPTIONS 1 #define ETL_DEBUG_NOT_USING_EXCEPTIONS 0 #else - #define ETL_DEBUG_USING_EXCEPTIONS 0 + #define ETL_DEBUG_USING_EXCEPTIONS 0 #define ETL_DEBUG_NOT_USING_EXCEPTIONS 1 #endif @@ -342,8 +342,8 @@ SOFTWARE. #define ETL_ENUM_CLASS_TYPE(name, type) enum class name : type #define ETL_LVALUE_REF_QUALIFIER & #if ETL_USING_EXCEPTIONS - #define ETL_NOEXCEPT noexcept - #define ETL_NOEXCEPT_EXPR(...) noexcept(__VA_ARGS__) + #define ETL_NOEXCEPT noexcept + #define ETL_NOEXCEPT_EXPR(...) noexcept(__VA_ARGS__) #else #define ETL_NOEXCEPT #define ETL_NOEXCEPT_EXPR(...)