C++03 compatibility initialisation

This commit is contained in:
John Wellbelove 2026-10-29 10:57:21 +00:00
parent 9fdbbfe5b0
commit a490eb969d

View File

@ -126,8 +126,16 @@ namespace etl
{
typedef void* type;
#if ETL_USING_CPP11
static ETL_CONSTANT type No_Owner = ETL_NULLPTR;
#else
static ETL_CONSTANT type No_Owner;
#endif
};
#if ETL_NOT_USING_CPP11
owner::type const owner::No_Owner = ETL_NULLPTR;
#endif
} // namespace timer
} // namespace etl