aboutsummaryrefslogtreecommitdiff
path: root/zenstore
diff options
context:
space:
mode:
authorPer Larsson <[email protected]>2021-09-22 21:25:28 +0200
committerPer Larsson <[email protected]>2021-09-22 21:25:28 +0200
commit13d72dffe5df56480a19e63ccf7ef79b21fbfea5 (patch)
treed0c8707d7f54eaf0101fca9a9a4028b5ce665b20 /zenstore
parentMerge branch 'main' of https://github.com/EpicGames/zen (diff)
downloadzen-13d72dffe5df56480a19e63ccf7ef79b21fbfea5.tar.xz
zen-13d72dffe5df56480a19e63ccf7ef79b21fbfea5.zip
Clang format fix.
Diffstat (limited to 'zenstore')
-rw-r--r--zenstore/filecas.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/zenstore/filecas.h b/zenstore/filecas.h
index 51e5fbc98..db21502c6 100644
--- a/zenstore/filecas.h
+++ b/zenstore/filecas.h
@@ -44,15 +44,15 @@ private:
spdlog::logger& m_Log;
spdlog::logger& Log() { return m_Log; }
- inline RwLock& LockForHash(const IoHash& Hash) { return m_ShardLocks[Hash.Hash[19]]; }
- void IterateChunks(std::function<void(const IoHash& Hash, BasicFile& PayloadFile)>&& Callback);
- void DeleteChunk(const IoHash& ChunkHash, std::error_code& Ec);
+ inline RwLock& LockForHash(const IoHash& Hash) { return m_ShardLocks[Hash.Hash[19]]; }
+ void IterateChunks(std::function<void(const IoHash& Hash, BasicFile& PayloadFile)>&& Callback);
+ void DeleteChunk(const IoHash& ChunkHash, std::error_code& Ec);
struct ShardingHelper
{
ShardingHelper(const std::filesystem::path& RootPath, const IoHash& ChunkHash);
- size_t Shard2len = 0;
+ size_t Shard2len = 0;
ExtendableWideStringBuilder<128> ShardedPath;
};
};