diff options
| author | Stefan Boberg <[email protected]> | 2021-05-24 17:54:03 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2021-05-24 17:54:03 +0200 |
| commit | f30a742ebd9ba368b00bd6dd67b303590178cd64 (patch) | |
| tree | 639c96b942873b702122c931c0f1d41e218a841b /zenserver/cache | |
| parent | clang-format fixups (diff) | |
| download | zen-f30a742ebd9ba368b00bd6dd67b303590178cd64.tar.xz zen-f30a742ebd9ba368b00bd6dd67b303590178cd64.zip | |
Fixed up legacy cache store for CRC32 function rename
Diffstat (limited to 'zenserver/cache')
| -rw-r--r-- | zenserver/cache/cachestore.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zenserver/cache/cachestore.cpp b/zenserver/cache/cachestore.cpp index cfdfa6c39..9180835d9 100644 --- a/zenserver/cache/cachestore.cpp +++ b/zenserver/cache/cachestore.cpp @@ -44,7 +44,7 @@ struct CorruptionTrailer void Initialize(const void* Data, size_t Size) { - CRCofPayload = zen::MemCrc32(Data, Size); + CRCofPayload = zen::MemCrc32_Deprecated(Data, Size); SizeOfPayload = (uint32_t)Size; } }; @@ -58,7 +58,7 @@ GenerateDdcPath(std::string_view Key, std::filesystem::path& rootDir) for (auto& c : k8) c = (char)toupper(c); - const uint32_t Hash = zen::StrCrc(k8.c_str()); + const uint32_t Hash = zen::StrCrc_Deprecated(k8.c_str()); std::wstring DirName; |