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
|
|
@ -1,18 +1,18 @@
|
|||
#ifndef STORM_ARRAY_TS_FIXED_ARRAY_HPP
|
||||
#define STORM_ARRAY_TS_FIXED_ARRAY_HPP
|
||||
|
||||
#include "storm/array/TSBaseArray.hpp"
|
||||
#include "storm/Memory.hpp"
|
||||
#include "storm/array/TSBaseArray.hpp"
|
||||
#include <cstdint>
|
||||
|
||||
template<class T>
|
||||
template <class T>
|
||||
class TSFixedArray : public TSBaseArray<T> {
|
||||
public:
|
||||
void ReallocData(uint32_t count);
|
||||
void SetCount(uint32_t count);
|
||||
};
|
||||
|
||||
template<class T>
|
||||
template <class T>
|
||||
void TSFixedArray<T>::ReallocData(uint32_t count) {
|
||||
T* oldData = this->m_data;
|
||||
|
||||
|
|
@ -47,7 +47,7 @@ void TSFixedArray<T>::ReallocData(uint32_t count) {
|
|||
}
|
||||
}
|
||||
|
||||
template<class T>
|
||||
template <class T>
|
||||
void TSFixedArray<T>::SetCount(uint32_t count) {
|
||||
if (count != this->m_count) {
|
||||
if (count) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue