From 2d41441f0224b94dc300f8b03b264d3954b988c1 Mon Sep 17 00:00:00 2001 From: John Wellbelove Date: Wed, 28 Jun 2023 10:36:28 +0100 Subject: [PATCH] Added ETL_CONSTEXPR11 as a synonym for ETL_CONSTEXPR --- include/etl/platform.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/etl/platform.h b/include/etl/platform.h index 30d81a2d..6561d2b9 100644 --- a/include/etl/platform.h +++ b/include/etl/platform.h @@ -236,6 +236,7 @@ SOFTWARE. // C++11 #if ETL_USING_CPP11 && !defined(ETL_FORCE_NO_ADVANCED_CPP) #define ETL_CONSTEXPR constexpr + #define ETL_CONSTEXPR11 constexpr // Synonym for ETL_CONSTEXPR #define ETL_CONSTANT constexpr #define ETL_STATIC_CONSTANT constexpr #define ETL_DELETE = delete @@ -257,6 +258,7 @@ SOFTWARE. #endif #else #define ETL_CONSTEXPR + #define ETL_CONSTEXPR11 #define ETL_CONSTANT const #define ETL_STATIC_CONSTANT static const #define ETL_DELETE