aboutsummaryrefslogtreecommitdiff
path: root/zenserver/cache/structuredcachestore.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'zenserver/cache/structuredcachestore.cpp')
-rw-r--r--zenserver/cache/structuredcachestore.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/zenserver/cache/structuredcachestore.cpp b/zenserver/cache/structuredcachestore.cpp
index 0663307cb..160396917 100644
--- a/zenserver/cache/structuredcachestore.cpp
+++ b/zenserver/cache/structuredcachestore.cpp
@@ -678,7 +678,11 @@ ZenCacheDiskLayer::CacheBucket::SaveManifest()
{
const IoHash& Key = Kv.first;
const IndexEntry& Entry = Kv.second;
- Writer << "Key"sv << Key << "LastAccess"sv << Entry.LastAccess;
+
+ Writer.BeginObject();
+ Writer << "Key"sv << Key;
+ Writer << "LastAccess"sv << Entry.LastAccess;
+ Writer.EndObject();
}
Writer.EndArray();
}