aboutsummaryrefslogtreecommitdiff
path: root/zencore/compactbinary.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-09-06 19:01:16 +0200
committerStefan Boberg <[email protected]>2021-09-06 19:01:16 +0200
commit7215c46d1ec59a7db7f4b92097b7d63abe9b9584 (patch)
treee8f36d3a2142ae141fcef5a3aa79e60aa073ebbd /zencore/compactbinary.cpp
parentMerge branch 'main' of https://github.com/EpicGames/zen (diff)
downloadzen-7215c46d1ec59a7db7f4b92097b7d63abe9b9584.tar.xz
zen-7215c46d1ec59a7db7f4b92097b7d63abe9b9584.zip
Change Compact Binary Package API to represent binary attachments as compressed buffers identified by their raw hash.
Change Compact Binary Package serialization for binary attachments to compressed buffers and objects as objects followed by their hash. Ported changes from Zousar's pending CL17372417
Diffstat (limited to 'zencore/compactbinary.cpp')
-rw-r--r--zencore/compactbinary.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/zencore/compactbinary.cpp b/zencore/compactbinary.cpp
index 5fe7f272d..b508d8fe8 100644
--- a/zencore/compactbinary.cpp
+++ b/zencore/compactbinary.cpp
@@ -12,7 +12,7 @@
namespace zen {
-const int DaysToMonth[] = {0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 365};
+const int DaysToMonth[] = {0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 365};
bool
IsLeapYear(int Year)