aboutsummaryrefslogtreecommitdiff
path: root/zenstore
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-09-19 19:31:13 +0200
committerStefan Boberg <[email protected]>2021-09-19 19:31:13 +0200
commit1e5b41352c7d45f34cb1a51e3d3811a4a994592a (patch)
treef6c5ded636fc3e9749a7bb79c5f69168b8e9d8f6 /zenstore
parentChanged some code over from ATL to BasicFile and added Scrub() stubs. (diff)
downloadzen-1e5b41352c7d45f34cb1a51e3d3811a4a994592a.tar.xz
zen-1e5b41352c7d45f34cb1a51e3d3811a4a994592a.zip
clang-format again
Diffstat (limited to 'zenstore')
-rw-r--r--zenstore/compactcas.cpp4
-rw-r--r--zenstore/compactcas.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/zenstore/compactcas.cpp b/zenstore/compactcas.cpp
index 71d52e56a..fd223e284 100644
--- a/zenstore/compactcas.cpp
+++ b/zenstore/compactcas.cpp
@@ -179,8 +179,8 @@ CasContainerStrategy::MakeSnapshot()
for (auto& Entry : m_LocationMap)
{
CasDiskIndexEntry& IndexEntry = Entries[EntryIndex++];
- IndexEntry.Key = Entry.first;
- IndexEntry.Location = Entry.second;
+ IndexEntry.Key = Entry.first;
+ IndexEntry.Location = Entry.second;
}
m_SmallObjectIndex.Write(Entries.data(), Entries.size() * sizeof(CasDiskIndexEntry), 0);
diff --git a/zenstore/compactcas.h b/zenstore/compactcas.h
index 63d8f8511..9921c9e6c 100644
--- a/zenstore/compactcas.h
+++ b/zenstore/compactcas.h
@@ -27,7 +27,7 @@ struct CasDiskLocation
// If we wanted to be able to store larger chunks using this storage mechanism then
// we could make this more like the IoStore index so we can store larger chunks.
// I.e use five bytes for size and seven for offset
- uint32_t Size;
+ uint32_t Size;
};
struct CasDiskIndexEntry