Fixed static definition

This commit is contained in:
John Wellbelove 2024-11-10 10:17:20 +00:00
parent 907d38f728
commit 586ae0cdff

View File

@ -72,6 +72,7 @@ namespace etl
typedef istring interface_type;
typedef istring::value_type value_type;
typedef istring::size_type size_type;
static ETL_CONSTANT size_t MAX_SIZE = MAX_SIZE_;
@ -261,7 +262,7 @@ namespace etl
};
template <size_t MAX_SIZE_>
ETL_CONSTANT size_t string<MAX_SIZE_>::MAX_SIZE;
ETL_CONSTANT typename string<MAX_SIZE_>::size_type string<MAX_SIZE_>::MAX_SIZE;
//***************************************************************************
/// A string implementation that uses a fixed size external buffer.