diff options
| author | Per Larsson <[email protected]> | 2021-09-22 21:25:28 +0200 |
|---|---|---|
| committer | Per Larsson <[email protected]> | 2021-09-22 21:25:28 +0200 |
| commit | 13d72dffe5df56480a19e63ccf7ef79b21fbfea5 (patch) | |
| tree | d0c8707d7f54eaf0101fca9a9a4028b5ce665b20 /zenstore | |
| parent | Merge branch 'main' of https://github.com/EpicGames/zen (diff) | |
| download | zen-13d72dffe5df56480a19e63ccf7ef79b21fbfea5.tar.xz zen-13d72dffe5df56480a19e63ccf7ef79b21fbfea5.zip | |
Clang format fix.
Diffstat (limited to 'zenstore')
| -rw-r--r-- | zenstore/filecas.h | 8 |
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; }; }; |