mirror of
https://github.com/thunderbrewhq/squall.git
synced 2025-12-12 10:32:29 +00:00
fix(array): initialize counter in TSFixedArray::Set
This commit is contained in:
parent
89f36c7e78
commit
c2a6459c94
1 changed files with 1 additions and 1 deletions
|
|
@ -86,7 +86,7 @@ template <class T>
|
|||
void TSFixedArray<T>::Set(uint32_t count, const T* data) {
|
||||
this->ReallocAndClearData(count);
|
||||
|
||||
for (uint32_t i; i < count; i++) {
|
||||
for (uint32_t i = 0; i < count; i++) {
|
||||
new (&this->m_data[i]) T(data[i]);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue