mirror of
https://github.com/ETLCPP/etl.git
synced 2026-11-10 07:09:46 +08:00
C++03 compatibility initialisation
This commit is contained in:
parent
9fdbbfe5b0
commit
a490eb969d
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user