1
0
forked from fsfw/fsfw

ADDED old pool entry constructor

This commit is contained in:
2020-01-26 18:31:17 +01:00
parent 6eedb3f097
commit d9fa13b6eb
2 changed files with 12 additions and 0 deletions

View File

@ -33,6 +33,7 @@ public:
* \param set_valid Sets the initialization flag. It is invalid (0) by default.
*/
PoolEntry( std::initializer_list<T> initValue = {}, uint8_t set_length = 1, uint8_t set_valid = 0 );
PoolEntry( T* initValue = NULL, uint8_t set_length = 1, uint8_t set_valid = 0 );
/**
* \brief The allocated memory for the variable is freed in the destructor.
* \details As the data pool is global, this dtor is only called on program exit.