aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-09-27 11:32:00 +0200
committerStefan Boberg <[email protected]>2021-09-27 11:32:00 +0200
commit231a720c099ad088c53316d03cb2b6348d2cf2a7 (patch)
tree1bf1a591226092f744d6a7f59bdea578259f0516
parentAdded simple compact binary endpoint for JSON testing (diff)
downloadzen-231a720c099ad088c53316d03cb2b6348d2cf2a7.tar.xz
zen-231a720c099ad088c53316d03cb2b6348d2cf2a7.zip
clang-format
-rw-r--r--zenstore/cidstore.cpp2
-rw-r--r--zenstore/include/zenstore/cidstore.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/zenstore/cidstore.cpp b/zenstore/cidstore.cpp
index d76058bd1..df5c32d25 100644
--- a/zenstore/cidstore.cpp
+++ b/zenstore/cidstore.cpp
@@ -46,7 +46,7 @@ struct CidStore::Impl
RwLock::ExclusiveLockScope _(m_Lock);
- auto It = m_CidMap.try_emplace(DecompressedId, Compressed);
+ auto It = m_CidMap.try_emplace(DecompressedId, Compressed);
if (!It.second)
{
if (It.first.value() != Compressed)
diff --git a/zenstore/include/zenstore/cidstore.h b/zenstore/include/zenstore/cidstore.h
index 2eea04164..5f567e7fc 100644
--- a/zenstore/include/zenstore/cidstore.h
+++ b/zenstore/include/zenstore/cidstore.h
@@ -25,9 +25,9 @@ class IoBuffer;
* be used to deal with other kinds of indirections in the future. For example, if we want
* to support chunking then a CID may represent a list of chunks which could be concatenated
* to form the referenced chunk.
- *
+ *
* It would likely be possible to implement this mapping in a more efficient way if we
- * integrate it into the CAS store itself, so we can avoid maintaining copies of large
+ * integrate it into the CAS store itself, so we can avoid maintaining copies of large
* hashes in multiple locations. This would also allow us to consolidate commit logs etc
* which would be more resilient than the current split log scheme
*