2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-06-09 18:22:33 +00:00

Reformat code with clang format

This commit is contained in:
Clang Format
2023-11-19 15:28:38 +01:00
committed by Jan
parent 22e17272fd
commit 6b4f5d94a8
1099 changed files with 16763 additions and 18076 deletions
+3 -2
View File
@@ -1,4 +1,5 @@
#include "XBlock.h"
#include <cassert>
XBlock::XBlock(const std::string& name, const int index, const Type type)
@@ -20,7 +21,7 @@ void XBlock::Alloc(const size_t blockSize)
{
delete[] m_buffer;
if(blockSize > 0)
if (blockSize > 0)
{
m_buffer = new uint8_t[blockSize];
m_buffer_size = blockSize;
@@ -30,4 +31,4 @@ void XBlock::Alloc(const size_t blockSize)
m_buffer = nullptr;
m_buffer_size = 0;
}
}
}