mirror of
https://github.com/thunderbrewhq/squall.git
synced 2025-12-12 02:22:30 +00:00
chore(format): tweak brace and type macro styles
This commit is contained in:
parent
b38b98bb7c
commit
f631bdac3b
4 changed files with 20 additions and 26 deletions
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#include <cstdint>
|
||||
|
||||
template<class T>
|
||||
template <class T>
|
||||
class TSBaseArray {
|
||||
public:
|
||||
uint32_t m_alloc = 0;
|
||||
|
|
@ -15,17 +15,17 @@ class TSBaseArray {
|
|||
void Clear(void);
|
||||
};
|
||||
|
||||
template<class T>
|
||||
template <class T>
|
||||
T& TSBaseArray<T>::operator[](uint32_t i) {
|
||||
return this->m_data[i];
|
||||
}
|
||||
|
||||
template<class T>
|
||||
template <class T>
|
||||
uint32_t TSBaseArray<T>::Count() {
|
||||
return this->m_count;
|
||||
}
|
||||
|
||||
template<class T>
|
||||
template <class T>
|
||||
void TSBaseArray<T>::Clear() {
|
||||
delete[] this->m_data;
|
||||
TSBaseArray<T>();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue