diff options
| -rw-r--r-- | zencore/blake3.cpp | 4 | ||||
| -rw-r--r-- | zencore/include/zencore/iobuffer.h | 4 | ||||
| -rw-r--r-- | zencore/include/zencore/sharedbuffer.h | 2 |
3 files changed, 5 insertions, 5 deletions
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 <zencore/blake3.h> +#include <zencore/compositebuffer.h> #include <zencore/string.h> #include <zencore/zencore.h> -#include <zencore/compositebuffer.h> #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 <memory.h> +#include <zencore/memory.h> #include "refcount.h" #include "zencore.h" -#include <zencore/memory.h> 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()); } |