aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-09-19 19:31:13 +0200
committerStefan Boberg <[email protected]>2021-09-19 19:31:13 +0200
commit1e5b41352c7d45f34cb1a51e3d3811a4a994592a (patch)
treef6c5ded636fc3e9749a7bb79c5f69168b8e9d8f6
parentChanged some code over from ATL to BasicFile and added Scrub() stubs. (diff)
downloadzen-1e5b41352c7d45f34cb1a51e3d3811a4a994592a.tar.xz
zen-1e5b41352c7d45f34cb1a51e3d3811a4a994592a.zip
clang-format again
-rw-r--r--zenhttp/httpsys.cpp2
-rw-r--r--zenserver/windows/service.cpp2
-rw-r--r--zenstore/compactcas.cpp4
-rw-r--r--zenstore/compactcas.h2
4 files changed, 5 insertions, 5 deletions
diff --git a/zenhttp/httpsys.cpp b/zenhttp/httpsys.cpp
index b5313021c..3c5e5d8d3 100644
--- a/zenhttp/httpsys.cpp
+++ b/zenhttp/httpsys.cpp
@@ -716,7 +716,7 @@ HttpSysServer::Run(bool IsInteractive)
do
{
- //int WaitTimeout = -1;
+ // int WaitTimeout = -1;
int WaitTimeout = 100;
if (IsInteractive)
diff --git a/zenserver/windows/service.cpp b/zenserver/windows/service.cpp
index bd80e0c2c..017b5f9a7 100644
--- a/zenserver/windows/service.cpp
+++ b/zenserver/windows/service.cpp
@@ -560,7 +560,7 @@ void
WindowsService::SvcCtrlHandler(DWORD dwCtrl)
{
// Handle the requested control code.
- //
+ //
// Called by SCM whenever a control code is sent to the service
// using the ControlService function.
diff --git a/zenstore/compactcas.cpp b/zenstore/compactcas.cpp
index 71d52e56a..fd223e284 100644
--- a/zenstore/compactcas.cpp
+++ b/zenstore/compactcas.cpp
@@ -179,8 +179,8 @@ CasContainerStrategy::MakeSnapshot()
for (auto& Entry : m_LocationMap)
{
CasDiskIndexEntry& IndexEntry = Entries[EntryIndex++];
- IndexEntry.Key = Entry.first;
- IndexEntry.Location = Entry.second;
+ IndexEntry.Key = Entry.first;
+ IndexEntry.Location = Entry.second;
}
m_SmallObjectIndex.Write(Entries.data(), Entries.size() * sizeof(CasDiskIndexEntry), 0);
diff --git a/zenstore/compactcas.h b/zenstore/compactcas.h
index 63d8f8511..9921c9e6c 100644
--- a/zenstore/compactcas.h
+++ b/zenstore/compactcas.h
@@ -27,7 +27,7 @@ struct CasDiskLocation
// If we wanted to be able to store larger chunks using this storage mechanism then
// we could make this more like the IoStore index so we can store larger chunks.
// I.e use five bytes for size and seven for offset
- uint32_t Size;
+ uint32_t Size;
};
struct CasDiskIndexEntry