aboutsummaryrefslogtreecommitdiff
path: root/zencore/compactbinarypackage.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-09-06 09:21:55 +0200
committerStefan Boberg <[email protected]>2021-09-06 09:21:55 +0200
commit39c0d92a05a3d75e4538750c06e51368b687e454 (patch)
tree01fb8e24270ae878ae2c7d42ac7a829044a0e398 /zencore/compactbinarypackage.cpp
parentChanged so function service commits compressed buffers (diff)
parentAdded zenserver-test xmake file (diff)
downloadzen-39c0d92a05a3d75e4538750c06e51368b687e454.tar.xz
zen-39c0d92a05a3d75e4538750c06e51368b687e454.zip
Merge branch 'main' of https://github.com/EpicGames/zen
Diffstat (limited to 'zencore/compactbinarypackage.cpp')
-rw-r--r--zencore/compactbinarypackage.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/zencore/compactbinarypackage.cpp b/zencore/compactbinarypackage.cpp
index 92ec3789d..7880164f9 100644
--- a/zencore/compactbinarypackage.cpp
+++ b/zencore/compactbinarypackage.cpp
@@ -567,7 +567,7 @@ TEST_CASE("usonpackage")
CHECK_FALSE(bool(Attachment.AsObject()));
CHECK_FALSE(Attachment.IsBinary());
CHECK_FALSE(Attachment.IsObject());
- CHECK(Attachment.GetHash() == IoHash::Zero);
+ CHECK(Attachment.GetHash() == IoHash::HashBuffer({}));
TestSaveLoadValidate("Null", Attachment);
}
@@ -824,7 +824,7 @@ TEST_CASE("usonpackage.serialization")
CHECK(bool(Package));
CHECK(Package.GetAttachments().size() == 2);
CHECK(Package.GetObject().Equals(CbObject()));
- CHECK(Package.GetObjectHash() == IoHash());
+ CHECK(Package.GetObjectHash() == IoHash::Zero);
TestSaveLoadValidate("Attachments", Package);
const CbAttachment* const Object1Attachment = Package.FindAttachment(Object1.GetHash());