diff --git a/README_SETUP.md b/README_SETUP.md index 86546c910a642a1543ee3f067dbf512e638743cd..dbfd4cdfe9035252c348f03bed11944b82932b57 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 8f606c64cd783fd518a8947cebb74b2dfe475d07..82a42288c97003ec64cab358bfc1a9b4cf5e7953 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()`