aboutsummaryrefslogtreecommitdiff
path: root/zencore
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-09-06 19:06:23 +0200
committerStefan Boberg <[email protected]>2021-09-06 19:06:23 +0200
commit2d1144d21a1c606434a025724e85c23824f0ca35 (patch)
tree570fc126c2084ac4a3b1dee61565f487ae6b3063 /zencore
parentMerge branch 'main' of https://github.com/EpicGames/zen (diff)
downloadzen-2d1144d21a1c606434a025724e85c23824f0ca35.tar.xz
zen-2d1144d21a1c606434a025724e85c23824f0ca35.zip
clang-format fixes
Diffstat (limited to 'zencore')
-rw-r--r--zencore/crc32.cpp2
-rw-r--r--zencore/include/zencore/memory.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/zencore/crc32.cpp b/zencore/crc32.cpp
index cd381d49f..d4a3cac57 100644
--- a/zencore/crc32.cpp
+++ b/zencore/crc32.cpp
@@ -418,7 +418,7 @@ static const uint32_t CRCTablesSB8[8][256] = {
0xbd4e1337, 0x71e413a9, 0x7b211ab0, 0xb78b1a2e, 0x39041dcd, 0xf5ae1d53, 0x2c8e0fff, 0xe0240f61, 0x6eab0882, 0xa201081c, 0xa8c40105,
0x646e019b, 0xeae10678, 0x264b06e6}};
-#define BYTESWAP_ORDER32(x) (((x) >> 24) + (((x) >> 8) & 0xff00) + (((x) << 8) & 0xff0000) + ((x) << 24))
+#define BYTESWAP_ORDER32(x) (((x) >> 24) + (((x) >> 8) & 0xff00) + (((x) << 8) & 0xff0000) + ((x) << 24))
#define UE_PTRDIFF_TO_UINT32(argument) static_cast<uint32_t>(argument)
template<typename T>
diff --git a/zencore/include/zencore/memory.h b/zencore/include/zencore/memory.h
index 040f97025..5a324955d 100644
--- a/zencore/include/zencore/memory.h
+++ b/zencore/include/zencore/memory.h
@@ -53,7 +53,7 @@ public:
inline void Free(void* Ptr) { ZEN_UNUSED(Ptr); /* no-op */ }
ChunkingLinearAllocator(const ChunkingLinearAllocator&) = delete;
- ChunkingLinearAllocator&operator=(const ChunkingLinearAllocator&) = delete;
+ ChunkingLinearAllocator& operator=(const ChunkingLinearAllocator&) = delete;
private:
uint8_t* m_ChunkCursor = nullptr;