From f6dd0ec7b3c524ecdd4684aba27f1ec44ddaeba6 Mon Sep 17 00:00:00 2001
From: Timm Fitschen <t.fitschen@indiscale.com>
Date: Thu, 29 Jul 2021 09:32:51 +0200
Subject: [PATCH] STY: some formatting

---
 README_SETUP.md              | 9 +++++----
 include/caosdb/transaction.h | 7 ++++++-
 2 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/README_SETUP.md b/README_SETUP.md
index 86546c9..dbfd4cd 100644
--- a/README_SETUP.md
+++ b/README_SETUP.md
@@ -31,15 +31,16 @@ variable.
 
 ### How to build on Windows
 
-We use [Visual Studio 2019](https://visualstudio.microsoft.com/de/vs/features/cplusplus/) as compiler.
-We use [cmake](https://cmake.org/download/) as build tool.
+We use [Visual Studio 2019](https://visualstudio.microsoft.com/de/vs/features/cplusplus/)
+as compiler. We use [cmake](https://cmake.org/download/) as build tool.
 
 1. `mkdir build`
 2. `cd build`
 3. `conan install .. -g visual_studio -s arch=x86_64 -s build_type=Release -s compiler.toolset=v142 -s compiler.version=16 -s compiler.runtime=MD  --build=missing --update`
 4. `cmake -B . ..`
-5. open ` libcaosdb.sln` with Visual Studio, change the buildtype to `Release` and build the project.
-(You can open Tools/Command Line/Developer Command Prompt and execute `msbuild libcaosdb.sln /property:Configuration=Release`)  
+5. open ` libcaosdb.sln` with Visual Studio, change the buildtype to `Release`
+   and build the project. (You can open Tools/Command Line/Developer Command
+   Prompt and execute `msbuild libcaosdb.sln /property:Configuration=Release`)
 
 ## Unit Tests
 
diff --git a/include/caosdb/transaction.h b/include/caosdb/transaction.h
index 8f606c6..82a4228 100644
--- a/include/caosdb/transaction.h
+++ b/include/caosdb/transaction.h
@@ -54,7 +54,12 @@ private:
   std::unique_ptr<Entity> entity;
 };
 
-enum TransactionState { TS_INIT = 10, TS_EXECUTING = 20, TS_SUCCESS = 30, TS_ERROR = 40 };
+enum TransactionState {
+  TS_INIT = 10,
+  TS_EXECUTING = 20,
+  TS_SUCCESS = 30,
+  TS_ERROR = 40
+};
 
 /**
  * @brief Create a transaction via `CaosDBConnection.createTransaction()`
-- 
GitLab