aboutsummaryrefslogtreecommitdiff
path: root/zenstore/caslog.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-05-13 11:59:01 +0200
committerStefan Boberg <[email protected]>2021-05-13 11:59:01 +0200
commitae9d141cbe65767f1a9a68c7697f3c9cad117885 (patch)
treef43741ebabe11d1cd761dad7f4b4d103447f2d11 /zenstore/caslog.cpp
parentRemoved vestigial prototype remains (diff)
downloadzen-ae9d141cbe65767f1a9a68c7697f3c9cad117885.tar.xz
zen-ae9d141cbe65767f1a9a68c7697f3c9cad117885.zip
clang-format
Diffstat (limited to 'zenstore/caslog.cpp')
-rw-r--r--zenstore/caslog.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/zenstore/caslog.cpp b/zenstore/caslog.cpp
index 6d9e22f88..c648cea5e 100644
--- a/zenstore/caslog.cpp
+++ b/zenstore/caslog.cpp
@@ -140,7 +140,9 @@ CasLogFile::Append(const void* DataPointer, uint64_t DataSize)
if (FAILED(hRes))
{
- throw std::system_error(GetLastError(), std::system_category(), "Failed to write to log file '{}'"_format(zen::PathFromHandle(m_File)));
+ throw std::system_error(GetLastError(),
+ std::system_category(),
+ "Failed to write to log file '{}'"_format(zen::PathFromHandle(m_File)));
}
}
@@ -177,7 +179,9 @@ CasBlobFile::Read(void* Data, uint64_t Size, uint64_t Offset)
if (FAILED(hRes))
{
- throw std::system_error(GetLastError(), std::system_category(), "Failed to read from file '{}'"_format(zen::PathFromHandle(m_File)));
+ throw std::system_error(GetLastError(),
+ std::system_category(),
+ "Failed to read from file '{}'"_format(zen::PathFromHandle(m_File)));
}
}