From c92771088cfb2f929c9b1090afb54a0d1e97102a Mon Sep 17 00:00:00 2001 From: John Wellbelove Date: Wed, 31 Jan 2024 09:50:11 +0000 Subject: [PATCH] #834 char_traits.h throws warning for GHS compiler --- include/etl/char_traits.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/etl/char_traits.h b/include/etl/char_traits.h index 8ffeb7fd..a85bf670 100644 --- a/include/etl/char_traits.h +++ b/include/etl/char_traits.h @@ -153,7 +153,7 @@ namespace etl } //************************************************************************* - ETL_CONSTEXPR14 static size_t length(const char_type* str, size_t max_length) + static ETL_CONSTEXPR14 size_t length(const char_type* str, size_t max_length) { size_t count = 0UL;