1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-19 14:17:41 +02:00

ArraysOf::reinit

This commit is contained in:
Paul Licameli 2016-03-31 14:39:01 -04:00
parent 61525264ae
commit b6c4d579ca

View File

@ -418,6 +418,14 @@ public:
ArrayOf<ArrayOf<X>>::operator=(std::move(that));
return *this;
}
using ArrayOf<ArrayOf<X>>::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);
}
};
/*