From 1fd1e4b5f2418e3ac2909658993bfedb615537ec Mon Sep 17 00:00:00 2001 From: rtk0c Date: Thu, 6 May 2021 21:56:40 -0700 Subject: Change brace style to on new line, add initial deliveries view when an order entry is selected --- core/src/Model/Workflow/Value_RTTI.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'core/src/Model/Workflow/Value_RTTI.cpp') 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::CreateByKind(BaseValue::Kind kind) { +std::unique_ptr BaseValue::CreateByKind(BaseValue::Kind kind) +{ switch (kind) { case KD_Numeric: return std::make_unique(); case KD_Text: return std::make_unique(); -- cgit v1.2.3-70-g09d2