mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-14 08:47:57 -05:00
Reformat code with clang format
This commit is contained in:
@ -3,12 +3,11 @@
|
||||
class AlignmentUtils
|
||||
{
|
||||
public:
|
||||
template<typename T>
|
||||
static T Align(T number, T alignmentValue)
|
||||
template<typename T> static T Align(T number, T alignmentValue)
|
||||
{
|
||||
if (alignmentValue == 0)
|
||||
return number;
|
||||
|
||||
return (number + (alignmentValue - 1)) / alignmentValue * alignmentValue;
|
||||
}
|
||||
};
|
||||
};
|
||||
|
@ -33,7 +33,7 @@ std::string NamespaceBuilder::ToString()
|
||||
std::ostringstream str;
|
||||
auto first = true;
|
||||
|
||||
for(const auto& element : m_elements)
|
||||
for (const auto& element : m_elements)
|
||||
{
|
||||
if (first)
|
||||
first = false;
|
||||
|
@ -1,6 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "Utils/ClassUtils.h"
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
|
Reference in New Issue
Block a user