aboutsummaryrefslogtreecommitdiff
path: root/zenstore
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-10-15 11:25:16 +0200
committerStefan Boberg <[email protected]>2021-10-15 11:25:35 +0200
commit01de07426c9d923c8c0b4ef7272b5b822399c4a7 (patch)
treea6ea0eda7316864ab63721bd10f642ad5ad57da8 /zenstore
parenthttpasio: implemented proper handling of query strings (diff)
downloadzen-01de07426c9d923c8c0b4ef7272b5b822399c4a7.tar.xz
zen-01de07426c9d923c8c0b4ef7272b5b822399c4a7.zip
clang-format
Diffstat (limited to 'zenstore')
-rw-r--r--zenstore/basicfile.cpp2
-rw-r--r--zenstore/filecas.cpp8
2 files changed, 5 insertions, 5 deletions
diff --git a/zenstore/basicfile.cpp b/zenstore/basicfile.cpp
index cfc77e2a5..bbb9e1036 100644
--- a/zenstore/basicfile.cpp
+++ b/zenstore/basicfile.cpp
@@ -143,7 +143,7 @@ BasicFile::StreamByteRange(uint64_t FileOffset, uint64_t Size, std::function<voi
}
}
-void
+void
BasicFile::Write(MemoryView Data, uint64_t FileOffset, std::error_code& Ec)
{
Write(Data.GetData(), Data.GetSize(), FileOffset, Ec);
diff --git a/zenstore/filecas.cpp b/zenstore/filecas.cpp
index f69ed6bdb..f928f5c21 100644
--- a/zenstore/filecas.cpp
+++ b/zenstore/filecas.cpp
@@ -137,10 +137,10 @@ FileCasStrategy::InsertChunk(IoBuffer Chunk, const IoHash& ChunkHash)
}
else if (hRes == HRESULT_FROM_WIN32(ERROR_SHARING_VIOLATION))
{
- // Sharing violation, likely because we are trying to open a file
- // which has been renamed on another thread, and the file handle
- // used to rename it is still open. We handle this case below
- // instead of here
+ // Sharing violation, likely because we are trying to open a file
+ // which has been renamed on another thread, and the file handle
+ // used to rename it is still open. We handle this case below
+ // instead of here
}
else
{