diff options
Diffstat (limited to 'zenserver/cache/structuredcachestore.cpp')
| -rw-r--r-- | zenserver/cache/structuredcachestore.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/zenserver/cache/structuredcachestore.cpp b/zenserver/cache/structuredcachestore.cpp index ed602f3f7..7bcd7b06a 100644 --- a/zenserver/cache/structuredcachestore.cpp +++ b/zenserver/cache/structuredcachestore.cpp @@ -1360,8 +1360,6 @@ ZenCacheDiskLayer::CacheBucket::Scrub(ScrubContext& Ctx) { BadKeys.push_back(HashKey); } - // Note: we cannot currently validate contents since we don't - // have a content hash! continue; } ZenCacheValue Value; @@ -1378,8 +1376,7 @@ ZenCacheDiskLayer::CacheBucket::Scrub(ScrubContext& Ctx) } else { - BlockStoreLocation Location = Loc.GetBlockLocation(m_PayloadAlignment); - ChunkLocations.push_back(Location); + ChunkLocations.emplace_back(Loc.GetBlockLocation(m_PayloadAlignment)); ChunkIndexToChunkHash.push_back(HashKey); continue; } |