From a03d9624116cc5230bfeee21aa3cb363e65fd466 Mon Sep 17 00:00:00 2001 From: Stefan Boberg Date: Mon, 24 May 2021 17:53:34 +0200 Subject: clang-format fixups --- zencore/blake3.cpp | 4 ++-- zencore/include/zencore/iobuffer.h | 4 ++-- zencore/include/zencore/sharedbuffer.h | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'zencore') diff --git a/zencore/blake3.cpp b/zencore/blake3.cpp index d8e0596d5..090eb6897 100644 --- a/zencore/blake3.cpp +++ b/zencore/blake3.cpp @@ -2,9 +2,9 @@ #include +#include #include #include -#include #include "../3rdparty/BLAKE3/c/blake3.h" #pragma comment(lib, "blake3.lib") @@ -36,7 +36,7 @@ BLAKE3::HashMemory(const void* data, size_t byteCount) return b3; } -BLAKE3 +BLAKE3 BLAKE3::HashBuffer(const CompositeBuffer& Buffer) { BLAKE3 Hash; diff --git a/zencore/include/zencore/iobuffer.h b/zencore/include/zencore/iobuffer.h index 38a31317f..960918239 100644 --- a/zencore/include/zencore/iobuffer.h +++ b/zencore/include/zencore/iobuffer.h @@ -3,9 +3,9 @@ #pragma once #include +#include #include "refcount.h" #include "zencore.h" -#include namespace zen { @@ -307,7 +307,7 @@ public: ZENCORE_API IoBuffer(EBorrowedFileTag, void* FileHandle, uint64_t ChunkFileOffset, uint64_t ChunkSize); inline operator bool() const { return !m_Core->IsNull(); } - inline operator MemoryView() const & { return MemoryView(m_Core->DataPointer(), m_Core->DataBytes()); } + inline operator MemoryView() const& { return MemoryView(m_Core->DataPointer(), m_Core->DataBytes()); } inline void MakeOwned() { return m_Core->MakeOwned(); } [[nodiscard]] inline bool IsOwned() const { return m_Core->IsOwned(); } [[nodiscard]] inline bool IsWholeFile() const { return m_Core->IsWholeFile(); } diff --git a/zencore/include/zencore/sharedbuffer.h b/zencore/include/zencore/sharedbuffer.h index c60af9547..2c10c4469 100644 --- a/zencore/include/zencore/sharedbuffer.h +++ b/zencore/include/zencore/sharedbuffer.h @@ -42,7 +42,7 @@ public: */ [[nodiscard]] inline bool IsNull() const { return m_Buffer.IsNull(); } - /** Reset this to null. */ + /** Reset this to null. */ ZENCORE_API void Reset(); inline MutableMemoryView GetMutableView() { return MutableMemoryView(GetData(), GetSize()); } -- cgit v1.2.3