aboutsummaryrefslogtreecommitdiff
path: root/zencore/iobuffer.cpp
diff options
context:
space:
mode:
authorPer Larsson <[email protected]>2022-01-22 11:11:34 +0100
committerPer Larsson <[email protected]>2022-01-22 11:11:34 +0100
commitaef9c292beae2245da35f60fa8c8bd9c52fd248f (patch)
tree798c254a0a3c867b5bc79c676684de7d47de6cc9 /zencore/iobuffer.cpp
parentUse ExtendablePathBuilders (diff)
downloadzen-aef9c292beae2245da35f60fa8c8bd9c52fd248f.tar.xz
zen-aef9c292beae2245da35f60fa8c8bd9c52fd248f.zip
Format fix.
Diffstat (limited to 'zencore/iobuffer.cpp')
-rw-r--r--zencore/iobuffer.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/zencore/iobuffer.cpp b/zencore/iobuffer.cpp
index e4c1ad75a..e2aaa3169 100644
--- a/zencore/iobuffer.cpp
+++ b/zencore/iobuffer.cpp
@@ -288,9 +288,11 @@ IoBufferExtendedCore::Materialize() const
if (MappedBase == nullptr)
{
- throw std::system_error(
- std::error_code(zen::GetLastError(), std::system_category()),
- fmt::format("MapViewOfFile failed (offset {:#x}, size {:#x}) file: '{}'", MapOffset, MapSize, zen::PathFromHandle(m_FileHandle)));
+ throw std::system_error(std::error_code(zen::GetLastError(), std::system_category()),
+ fmt::format("MapViewOfFile failed (offset {:#x}, size {:#x}) file: '{}'",
+ MapOffset,
+ MapSize,
+ zen::PathFromHandle(m_FileHandle)));
}
m_MappedPointer = MappedBase;