diff options
author | rtk0c <[email protected]> | 2021-05-06 21:56:40 -0700 |
---|---|---|
committer | rtk0c <[email protected]> | 2021-05-06 21:56:40 -0700 |
commit | 1fd1e4b5f2418e3ac2909658993bfedb615537ec (patch) | |
tree | 6de080d2273890f8a74d7fcd3572bb44f44ac545 /core/src/Model/Workflow/Value_RTTI.cpp | |
parent | 538e804fc9beb83e711a210ffbb6badc15f285d5 (diff) |
Change brace style to on new line, add initial deliveries view when an order entry is selected
Diffstat (limited to 'core/src/Model/Workflow/Value_RTTI.cpp')
-rw-r--r-- | core/src/Model/Workflow/Value_RTTI.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/core/src/Model/Workflow/Value_RTTI.cpp b/core/src/Model/Workflow/Value_RTTI.cpp index 2a1ac39..a660557 100644 --- a/core/src/Model/Workflow/Value_RTTI.cpp +++ b/core/src/Model/Workflow/Value_RTTI.cpp @@ -3,7 +3,8 @@ #include "Model/Workflow/Values/BasicValues.hpp" #include "Utils/Macros.hpp" -const char* BaseValue::FormatKind(Kind kind) { +const char* BaseValue::FormatKind(Kind kind) +{ switch (kind) { case KD_Numeric: return "Numeric"; case KD_Text: return "Text"; @@ -12,7 +13,8 @@ const char* BaseValue::FormatKind(Kind kind) { } } -std::unique_ptr<BaseValue> BaseValue::CreateByKind(BaseValue::Kind kind) { +std::unique_ptr<BaseValue> BaseValue::CreateByKind(BaseValue::Kind kind) +{ switch (kind) { case KD_Numeric: return std::make_unique<NumericValue>(); case KD_Text: return std::make_unique<TextValue>(); |