From 1e3fbd753aaeaeabeb4ef383f64b32042c492337 Mon Sep 17 00:00:00 2001 From: zousar <2936246+zousar@users.noreply.github.com> Date: Tue, 5 Dec 2023 23:37:58 -0700 Subject: Ran precommit --- src/zenserver/projectstore/projectstore.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/zenserver/projectstore/projectstore.cpp') diff --git a/src/zenserver/projectstore/projectstore.cpp b/src/zenserver/projectstore/projectstore.cpp index cf827b22e..8bc49c55f 100644 --- a/src/zenserver/projectstore/projectstore.cpp +++ b/src/zenserver/projectstore/projectstore.cpp @@ -752,8 +752,7 @@ ProjectStore::Oplog::GetAllChunksInfo() } void -ProjectStore::Oplog::IterateChunkMap( - std::function&& Fn) +ProjectStore::Oplog::IterateChunkMap(std::function&& Fn) { RwLock::SharedLockScope _(m_OplogLock); if (!m_Storage) @@ -2252,10 +2251,7 @@ ProjectStore::GetProjectChunks(const std::string_view ProjectId, const std::stri Project->TouchOplog(OplogId); std::vector> ChunkInfos; - FoundLog->IterateChunkMap([&ChunkInfos](const Oid& Id, const IoHash& Hash) { - ChunkInfos.push_back({Id, Hash}); - }); - + FoundLog->IterateChunkMap([&ChunkInfos](const Oid& Id, const IoHash& Hash) { ChunkInfos.push_back({Id, Hash}); }); CbObjectWriter Response; Response.BeginArray("chunks"sv); -- cgit v1.2.3