diff --git a/src/MemoryX.h b/src/MemoryX.h index 153f8f6a9..6d987d3b2 100644 --- a/src/MemoryX.h +++ b/src/MemoryX.h @@ -418,6 +418,14 @@ public: ArrayOf>::operator=(std::move(that)); return *this; } + + using ArrayOf>::reinit; + void reinit(size_t countN, size_t countM, bool initialize = false) + { + reinit(countN, false); + for (size_t ii = 0; ii < countN; ++ii) + (*this)[ii].reinit(countM, initialize); + } }; /*