Initialize FlatArray members ( thx @mrambausek )

This commit is contained in:
Matthias Hochsteger 2021-06-02 15:41:42 +02:00
parent 32522368b9
commit 3ce5b1958e

View File

@ -436,9 +436,9 @@ namespace ngcore
protected:
static constexpr IndexType BASE = IndexBASE<IndexType>();
/// the size
size_t size;
size_t size = 0;
/// the data
T * __restrict data;
T * __restrict data = nullptr;
public:
typedef T value_type;
typedef IndexType index_type;