aboutsummaryrefslogtreecommitdiff
path: root/zenserver/cache/structuredcachestore.cpp
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2022-05-03 22:14:02 +0200
committerDan Engelbrecht <[email protected]>2022-05-03 22:14:02 +0200
commit78e582a60763c0d9499106be0cdfe6a794e26e42 (patch)
tree294bb596d61582744dd7901f6a464c324bdec3d2 /zenserver/cache/structuredcachestore.cpp
parentthreading test for blockstore (diff)
downloadzen-78e582a60763c0d9499106be0cdfe6a794e26e42.tar.xz
zen-78e582a60763c0d9499106be0cdfe6a794e26e42.zip
macos compilation fix
Diffstat (limited to 'zenserver/cache/structuredcachestore.cpp')
-rw-r--r--zenserver/cache/structuredcachestore.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/zenserver/cache/structuredcachestore.cpp b/zenserver/cache/structuredcachestore.cpp
index ae3b401a5..3ba75cd9c 100644
--- a/zenserver/cache/structuredcachestore.cpp
+++ b/zenserver/cache/structuredcachestore.cpp
@@ -1025,7 +1025,7 @@ ZenCacheDiskLayer::CacheBucket::MigrateLegacyData(bool CleanSource)
OldLocation.Size(),
0,
OldLocation.Flags() | LegacyDiskLocation::kTombStone);
- LegacyLogEntries.push_back(LegacyDiskIndexEntry(ChunkHash, NewLocation));
+ LegacyLogEntries.push_back(LegacyDiskIndexEntry{.Key = ChunkHash, .Location = NewLocation});
}
LegacyCasLog.Append(LegacyLogEntries);
LegacyCasLog.Flush();