diff options
| author | Stefan Boberg <[email protected]> | 2021-09-27 11:32:00 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2021-09-27 11:32:00 +0200 |
| commit | 231a720c099ad088c53316d03cb2b6348d2cf2a7 (patch) | |
| tree | 1bf1a591226092f744d6a7f59bdea578259f0516 | |
| parent | Added simple compact binary endpoint for JSON testing (diff) | |
| download | zen-231a720c099ad088c53316d03cb2b6348d2cf2a7.tar.xz zen-231a720c099ad088c53316d03cb2b6348d2cf2a7.zip | |
clang-format
| -rw-r--r-- | zenstore/cidstore.cpp | 2 | ||||
| -rw-r--r-- | zenstore/include/zenstore/cidstore.h | 4 |
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 * |