aboutsummaryrefslogtreecommitdiff
path: root/zencore/include
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2022-12-12 13:34:51 +0100
committerGitHub <[email protected]>2022-12-12 13:34:51 +0100
commit8dbd301a196041a36be455c1b4cedc81f0d634fe (patch)
tree0c278bb9ac5d185ef1ce6115f7c85067e680d0b7 /zencore/include
parentadded [[fallthrough]] annotations to silence static analysis (diff)
downloadzen-8dbd301a196041a36be455c1b4cedc81f0d634fe.tar.xz
zen-8dbd301a196041a36be455c1b4cedc81f0d634fe.zip
Changed so CompressedBuffer::DecodeRawHash returns IoHash just like on the UE side (#208)
removed all use of IoHash::FromBLAKE3() caused by interactions with CompressedBuffer APIs
Diffstat (limited to 'zencore/include')
-rw-r--r--zencore/include/zencore/compress.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/zencore/include/zencore/compress.h b/zencore/include/zencore/compress.h
index 5bf6d3001..99ce20d8a 100644
--- a/zencore/include/zencore/compress.h
+++ b/zencore/include/zencore/compress.h
@@ -117,7 +117,7 @@ public:
[[nodiscard]] ZENCORE_API uint64_t DecodeRawSize() const;
/** Returns the hash of the raw data. Zero on error or if this is null. */
- [[nodiscard]] ZENCORE_API BLAKE3 DecodeRawHash() const;
+ [[nodiscard]] ZENCORE_API IoHash DecodeRawHash() const;
[[nodiscard]] ZENCORE_API CompressedBuffer CopyRange(uint64_t RawOffset, uint64_t RawSize = ~uint64_t(0)) const;