mirror of
https://github.com/thunderbrewhq/squall.git
synced 2025-12-12 02:22:30 +00:00
chore(array): improve parameter name
This commit is contained in:
parent
6efff35836
commit
ba016168b6
1 changed files with 3 additions and 3 deletions
|
|
@ -14,14 +14,14 @@ class TSBaseArray {
|
||||||
virtual const char* MemFileName() const;
|
virtual const char* MemFileName() const;
|
||||||
virtual int32_t MemLineNo() const;
|
virtual int32_t MemLineNo() const;
|
||||||
|
|
||||||
T& operator[](uint32_t i);
|
T& operator[](uint32_t index);
|
||||||
uint32_t Count() const;
|
uint32_t Count() const;
|
||||||
void Clear();
|
void Clear();
|
||||||
};
|
};
|
||||||
|
|
||||||
template <class T>
|
template <class T>
|
||||||
T& TSBaseArray<T>::operator[](uint32_t i) {
|
T& TSBaseArray<T>::operator[](uint32_t index) {
|
||||||
return this->m_data[i];
|
return this->m_data[index];
|
||||||
}
|
}
|
||||||
|
|
||||||
template <class T>
|
template <class T>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue