chore(format): tweak brace and type macro styles

This commit is contained in:
fallenoak 2020-11-14 17:12:00 -06:00
parent b38b98bb7c
commit f631bdac3b
No known key found for this signature in database
GPG key ID: 7628F8E61AEA070D
4 changed files with 20 additions and 26 deletions

View file

@ -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) {