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:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user